Partager via


ContentTransferEncoding Enumeration

The ContentTransferEncoding enumeration specifies the supported content transfer encodings.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Enumeration ContentTransferEncoding
'Usage
Dim instance As ContentTransferEncoding
public enum ContentTransferEncoding

Members

Member name Description
SevenBit Every byte is seven bits. This is the default transfer encoding.
EightBit Some byte data requires the full eight-bit range of bytes, but the data is still line-oriented. The SMTP must support the BDAT extension for this encoding to be valid.
Binary The data is not line-oriented and may have eight-bit data. The Simple Mail Transfer Protocol (SMTP) that is used to send this Multipurpose Internet Mail Extensions (MIME) part must support the BDAT extension for this encoding to be valid.
QuotedPrintable The data is seven-bit encoded and each character that is not seven-bit will be escaped into a three-byte sequence of characters. This is the most common format applied to bodies that contain mostly seven-bit sequences.
Base64 Each three-byte sequence is encoded in a four-byte, seven-bit sequence. This results in a one-third increase in the message size. This is the most common format applied to attachments.
UUEncode The data is encoded in a variant of Unix-to-Unix encode (UUENCODE) format for transport and results in seven-bit data. The data encoding is line-oriented, and is seven-bit compliant.
BinHex The data is encoded in the BinHex format for transport and results in seven-bit data.
Unknown The content transfer encoding is unknown.