 | ContentEncoding Enumeration |
An enumeration of all supported content transfer encodings.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxpublic enum ContentEncoding
Members
| Member name | Value | Description |
---|
| Default | 0 |
The default encoding (aka no encoding at all).
|
| SevenBit | 1 |
The 7bit content transfer encoding. This encoding should be restricted to textual content
in the US-ASCII range.
|
| EightBit | 2 |
The 8bit content transfer encoding. This encoding should be restricted to textual content
outside of the US-ASCII range but may not be supported by all transport services such as
older SMTP servers that do not support the 8BITMIME extension.
|
| Binary | 3 |
The binary content transfer encoding. This encoding is simply unencoded binary data. Typically
not supported by standard message transport services such as SMTP.
|
| Base64 | 4 |
The base64 content transfer encoding. This encoding is typically used for encoding binary data
or textual content in a largely 8bit charset encoding and is supported by all message transport
services.
|
| QuotedPrintable | 5 |
The quoted-printable content transfer encoding. This encoding is used for textual content that
is in a charset that has a minority of characters outside of the US-ASCII range (such as
ISO-8859-1 and other single-byte charset encodings) and is supported by all message transport
services.
|
| UUEncode | 6 |
The uuencode content transfer encoding. This is an obsolete encoding meant for encoding binary
data and has largely been superceeded by Base64.
|
Remarks
Some older mail software is unable to properly deal with
data outside of the ASCII range, so it is sometimes
necessary to encode the content of MIME entities.
See Also