Gets and sets the content encoding for the current message
part.
Syntax
object.Encoding [= value ]
Remarks
The Encoding property returns a string which specifies the
method used for encoding the current message part. Setting this
property causes the Content-Transfer-Encoding header value to be
updated. The following values are commonly used:
Type |
Description |
7bit |
The default transfer encoding type, which consists of
printable ASCII characters. |
8bit |
Printable ASCII characters, including those characters with
the high-bit set (as is common with the ISO Latin-1 character
set); this encoding type is not commonly used. |
base64 |
The transfer encoding type commonly used to convert binary
data into 7-bit ASCII characters so that it may be transported
safely through the mail system. |
binary |
All characters; binary transfer encoding is rarely used. |
quoted-printable |
Printable ASCII characters, with non-printable or extended
characters represented using their hexadecimal equivalents. |
x-uuencode |
A transfer encoding type similar in function to the base64
encoding method. |
Note that setting this property only updates the
Content-Transfer-Encoding header value. To control the actual
encoding method used when attaching a file, see the AttachFile
method.
Data Type
String
See Also
ContentLength Property,
ContentType Property,
ExtractFile Method,
AttachFile Method
|