Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2012-10-16
The message encoding options that are available in Exchange specify message characteristics, such as MIME and non-MIME character sets, binary encoding, and attachment formats. You can specify message encoding options in the following locations:
- Remote domain settings
- Mail user and mail contact settings
- Microsoft Outlook settings
- Message format
- Internet message format
- Internet recipient message format
- Message character set encoding options
- Message format
Content
Message encoding options for messages sent to remote domains
Message encoding options for mail users and mail contacts
Message encoding options for messages sent to remote domains
When you configure message encoding options for a remote domain, the specific settings are applied for all messages sent to that domain. For remote domains in your organization, you have the following configuration options for message encoding:
- Content type You can specify the
content type for MIME messages sent to the recipients in the remote
domain. You can use of the following settings:
- MimeHtmlText All messages are converted
to MIME messages that use HTML formatting, unless the original
message is a text message. If the original message is a text
message, the outgoing message will be a MIME message that uses text
formatting. This is the default setting.
- MimeText All messages are converted to
MIME messages that use text formatting.
- MimeHtml All messages are converted to
MIME messages that use HTML formatting.
- MimeHtmlText All messages are converted
to MIME messages that use HTML formatting, unless the original
message is a text message. If the original message is a text
message, the outgoing message will be a MIME message that uses text
formatting. This is the default setting.
- Line wrap size You can specify the
maximum number of characters that can exist on a single line of
text in the body of the e-mail message. Older email client
applications may prefer 78 characters per line.
- MIME character set The character set
that you specify will only be used for MIME messages that don't
have their own character set specified. Setting this parameter
won't overwrite character sets that are already specified in the
outgoing mail.
- Non-MIME character set This setting is
used if either of the following conditions are true:
- Incoming messages from a remote domain are missing the value of
the charset= setting in the MIME Content-Type: header
field.
- Outgoing messages to a remote domain are missing the value of
the MIME character set.
- Incoming messages from a remote domain are missing the value of
the charset= setting in the MIME Content-Type: header
field.
Message encoding options for mail users and mail contacts
When you configure message encoding options for a mail contact or a mail user, that option is applied to all messages sent to that specific recipient. For mail contacts and mail users in your organization, you have the following configuration options for message encoding:
- UsePreferMessageFormat This parameter
specifies whether the message format settings configured for the
mail contact override the global settings configured for the remote
domain. If you disable this setting, Exchange ignores other message
encoding options for this recipient and the message encoding is
determined by the configuration of the remote domain or the
settings configured by the message sender.
- MessageFormat This parameter specifies
the message format. You can either specify Text or Mime as the
message format. The value of this setting is dependent on the
MessageBodyFormat parameter. If the message body format is
Html or TextAndHtml, you must set this parameter to Mime.
- MessageBodyFormat This parameter
specifies the message body format. You can specify Text, Html, or
TextAndHtml. The value of this setting is dependent on the
MessageFormat parameter. If the message format is Text, you
must also set this parameter to Text.
- MacAttachmentFormat This parameter
specifies the Apple Macintosh operating system attachment format
for messages. You can specify BinHex, UuEncode, AppleSingle, or
AppleDouble. The value of this setting is dependent on the
MessageFormat parameter. If the message format is set to
Text, you must set this parameter to either BinHex or UuEncode. If
the message format is set to Mime, you must set this parameter to
BinHex, AppleSingle or AppleDouble.
You need to use these parameters in the Exchange Management Shell to set the message encoding options for mail users and mail contacts. For more information, see the following topics:
Message encoding options available in Outlook
As a sender, you can specify message encoding options in Outlook at any of the following stages:
- By configuring the default message format to be either plain
text or HTML.
- By setting the message format as you're composing it to either
plain text or HTML using the Format area in the
Options tab.
- By configuring the message encoding options for messages that
are sent to all recipients outside the Exchange organization. These
options are called Internet message format options. The
options only apply to remote recipients, and not to recipients in
the Exchange organization.
- By configuring the message encoding options for messages that
are sent to specific recipients outside the Exchange organization.
These options are called Internet recipient message format
options. The options only apply to remote recipients in your
Contacts folder, and not to recipients in the Exchange
organization.
By default, Outlook uses automatic character set message encoding by scanning the whole text of the outgoing message to determine the appropriate encoding to use for the message. This setting applies to messages that you send to Internet recipients and recipients in the Exchange organization. However, you can bypass this and specify a preferred encoding for outgoing messages.
Order of precedence for message encoding options
Exchange uses the order of precedence as described in the following list to determine the message encoding options for outgoing messages sent to recipients outside the Exchange organization:
- Remote domain settings
- Outlook settings
- Mail user or mail contact settings
The list specifies the order of precedence from lowest to highest. A setting made at a higher level may override a setting made at a lower level.
The following table describes the order of precedence from lowest priority to highest priority for message character set encoding options.
Order of precedence from lowest priority to highest priority for message character set encoding options
Source | Parameter | Values |
---|---|---|
Set-RemoteDomain |
CharacterSet |
Specified |
Set-RemoteDomain |
NonMimeCharacterSet |
Specified |
Outlook setting |
Message character set encoding |
|
The value of the NonMimeCharacterSet parameter from the Set-RemoteDomain cmdlet is used to assign a character set to the following types of messages:
- Outgoing messages to a configured remote domain that don't
contain a specified character set.
- Incoming messages from a configured remote domain that don't
contain a specified character set.
The value of the Windows ANSI code page for the transport server is used to assign a character set to the following types of messages:
- Internal messages that don't contain a specified character
set.
- Internal messages that contain a specified character set, but
don't contain a specified server code page.
If a message contains a specified but invalid character set, the transport server tries to replace the invalid character set with a valid character set.
The following table describes the order of precedence from lowest priority to highest priority for plain text message encoding options.
Order of precedence from lowest priority to highest priority for plain text message encoding options
Source | Parameter | Values |
---|---|---|
Set-RemoteDomain |
LineWrapSize |
|
Outlook settings |
Message format |
Plain text |
Outlook settings |
Internet message format |
Plain text options:
|
Outlook settings |
Internet recipient message format |
Plain text format:
|
Set-MailUser Set-MailContact |
UsePreferMessageFormat |
If the value is |
Set-MailUser Set-MailContact |
MessageFormat |
Text |
Set-MailUser Set-MailContact |
MessageBodyFormat |
Text |
Set-MailUser Set-MailContact |
MacAttachmentFormat |
|
The following table describes the order of precedence from lowest priority to highest priority for MIME message encoding options.
Order of precedence from lowest priority to highest priority for MIME message encoding options
Source | Parameter | Values |
---|---|---|
Set-RemoteDomain |
ContentType |
|
Outlook settings |
Message format |
|
Outlook settings |
Internet recipient message format |
MIME message format
|
Set-MailUser Set-MailContact |
UsePreferMessageFormat |
If the value is |
Set-MailUser Set-MailContact |
MessageFormat |
|
Set-MailUser Set-MailContact |
MessageBodyFormat |
|
Set-MailUser Set-MailContact |
MacAttachmentFormat |
|