Description
-
Encodes message text.
Return Type
-
A String value.
Syntax
-
object.EncodeText Encoding, Text
The EncodeText Method syntax has these parts:
| object |
An expression
evaluating to an object of type SmtpMsg. |
| Encoding |
Required. Value from
AttachmentEncodingsEnum enumeration. |
| Text |
Required. A String value. Text
that will be encoded. |
Remarks
-
Unlike Text property
that will set message body 'as is', this method will try to encode
specific Text with any of supported
AttachmentEncodingsEnum values. Resulting string can be used
with Text property, but is not neccessary.
|