Message encoding options in Exchange 2016

 

Applies to: Exchange Server 2016

Topic Last Modified: 2017-08-24

Learn about the options that are available for message encoding in Exchange 2016.

The message encoding options in Exchange 2016 let you 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 contact and mail user settings

  • Outlook settings:

    • Message format

    • Internet message format

    • Internet recipient message format (Outlook 2010 or earlier)

    • Message character set encoding options

  • Outlook on the web (formerly known as Outlook Web App) message format settings

Typically, the default settings for these message encoding options will work fine. However, you might need to change the messaging encoding options for recipients that are using older email clients or messaging systems. They'll likely tell you if messages from your Exchange environment appear to have formatting issues.

For more information about content conversion in Exchange, see Content conversion. For TNEF (also known as or Rich Text) settings, see TNEF conversion options.

Remote domains specify settings for messages sent to domains that are external to your Exchange organization. For more information, see Remote domains.

When you configure message encoding options for a remote domain, the settings are applied to all messages that are sent to recipients in that domain. Some settings are available in the Exchange admin center (EAC), but most are only available in the Exchange Management Shell. The message encoding settings are described in this table:

 

Setting

EAC configuration

Exchange Management Shell configuration

MIME character set   The specified character set is only used for MIME messages that don't contain a character set. This setting won't overwrite character sets that are already specified in outgoing messages.

Non-MIME character set   This setting is used if either of these 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.

Mail flow > Remote domains > Add Add icon, or select an existing remote domain, and then click Edit Edit icon > Supported character set section.

Cmdlet: Set-RemoteDomain

Parameters: CharacterSet and NonMimeCharacterSet

Content type   Valid values are:

  • 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 value.

  • MimeText   All messages are converted to MIME messages that use text formatting.

  • MimeHtml   All messages are converted to MIME messages that use HTML formatting.

n/a

Cmdlet: Set-RemoteDomain

Parameter: ContentType

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 email message. Older email clients might prefer 78 characters per line.

n/a

Cmdlet: Set-RemoteDomain

Parameter: LineWrapSize

The default value is Unlimited, which means the email client is responsible for setting the line wrap size in new messages.

Mail contacts and mail users represent users that have external email addresses in your Exchange organization. For more information, see Recipients.

When you configure message encoding options for a mail contact or a mail user, the settings are only applied to messages that are sent to that specific recipient. All settings are only available in the Exchange Management Shell in these cmdlets:

The message encoding settings for mail contacts and mail users are described in this list:

  • UsePreferMessageFormat parameter   Specifies whether the message format settings for the mail contact or mail user override the corresponding settings for the remote domain. Valid values are:

    • $true   Messages sent to the Mail contact or mail user use the message format that's configured for the Mail contact or mail user.

    • $false   Messages sent to the Mail contact or mail user use the message format that's configured for the remote domain (the default remote domain or a specific remote domain) or configured by the message sender. This is the default value.

  • MessageFormat parameter   This parameter specifies the message format for messages sent to the mail contact or mail user. Valid values are Text or Mime, and the default value is Mime.

  • MessageBodyFormat parameter   This parameter specifies the message body format for messages sent to the mail contact or mail user. Valid values are Text, Html, or TextAndHtml, and the default value is TextAndHtml.

    The MessageFormat and MessageBodyFormat parameters are interdependent:

    • If the MessageFormat value is Mime, the MessageBodyFormat value can be Text, Html, or TextAndHtml.

    • If the MessageFormat value is Text, the MessageBodyFormat value can only be Text.

  • MacAttachmentFormat parameter   Specifies the message attachment format for Apple Macintosh operating system clients. Valid values are BinHex, UuEncode, AppleSingle, or AppleDouble, and the default value is BinHex.

    The MessageFormat and MacAttachmentFormat parameters are interdependent:

    • If the MessageFormat value is Text, the MacAttachmentFormat value can be BinHex or UuEncode.

    • If the MessageFormat value is Mime, the MacAttachmentFormat value can be BinHex, AppleSingle, or AppleDouble.

As a sender, you can specify the message encoding in Outlook by using any of these methods:

  • Configure the default message format to plain text or HTML.

  • Configure the message format to plain text or HTML as you're composing the message by using the Format area in the Format Text tab.

  • Configure the message encoding options for messages sent to all external recipients. These options are called Internet message format options, and they only apply to remote recipients (not to recipients in the Exchange organization).

  • Configure the message encoding options for messages sent to specific external recipients (Outlook 2010 or earlier). These options are called Internet recipient message format options, and they only apply to remote recipients in your Contacts folder (not to recipients in the Exchange organization).

For instructions on configuring these settings in Outlook, see Change the message format to HTML, Rich Text Format, or plain text.

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 internal and external recipients. However, you can bypass the automatic selection and specify a preferred encoding for outgoing messages at File > Options > Advanced > International options.

As a sender, you can specify message encoding options in Outlook on the web by using either of these methods:

  • Configure the default message format as plain text or HTML in the Message format section at Settings > Options > Mail > Layout.

    Options menu location in Outlook on the web
  • Configure the message format to plain text or HTML as you're composing the message by clicking More options More Options icon, and selecting Switch to plain text (if the current format is HTML) or Switch to HTML (if the current format is plain text).

Some message encoding options are available in remote domain settings, Mail contact or mail user settings, and Outlook or Outlook on the web settings. Message encoding options for outgoing messages sent to external recipients are described in the following list from highest priority to lowest priority:

  1. Mail contact or mail user settings (if the use preferred message format setting is enabled)

  2. Outlook or Outlook on the web settings

  3. Remote domain settings

A setting at a higher level overrides the corresponding setting at a lower level. For example, Mail contact or mail user settings override the corresponding setting for a remote domain. Unique settings are unaffected (there's no higher or lower priority setting that conflicts).

The order of precedence for message encoding options are described in the following sections.

The following table describes the order of precedence from highest priority to lowest priority for message character set encoding options.

 

SourceSettingValues

Outlook

Preferred encoding for outgoing messages

  • Automatically select encoding for outgoing messages enabled or disabled (enabled by default).

  • Preferred encoding for outgoing messages set to the specified character set. This is the encoding option that's used if you disable Automatically select encoding for outgoing messages

Remote domain

MIME character set and non-MIME character set

The specified MIME and non-MIME character sets (which can be the same).

Notes:

  • When you configure the non-MIME character set for a remote domain, the character set is assigned to incoming or outgoing messages to and from the remote domain that don't contain a specified character set.

  • The value of the Windows ANSI code page for the Exchange server is used to assign a character set to these 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 Exchange server tries to replace the invalid character set with a valid one.

The following table describes the order of precedence from highest priority to lowest priority for plain text message encoding options.

Note: Only plain text message settings are included here (not plain text settings for MIME encoded messages).

 

SourceSettingValues

Mail contact or mail user

Use the preferred message format

If the value $true, the plain text message encoding settings for the mail contact or mail user override the corresponding settings in Outlook.

If the value is $false, the plain text message encoding settings for the mail contact or mail user are ignored (the corresponding settings in Outlook are used).

Mail contact or mail user

Message format

Text

Mail contact or mail user

Message body format

Text

Mail contact or mail user

Mac attachment format

BinHex or UUEncode

Outlook 2010 or earlier

Internet recipient message format (settings on a specific contact)

Send plain text only

Open a contact in the Contacts folder > double-click the email address > click View more options for interacting with this person > select Outlook properties, In the E-mail Properties dialog that opens, select Send Plain Text only in the Internet format field.

Outlook

Internet message format

Plain text options for external messages at File > Options > Mail > Message format:

  • Encode attachments in UUENCODE format when sending plain-text messages (not selected by default)

  • Automatically wrap text at nn characters (the default value is 76).

Remote domain

Line wrap size

132 characters or less, or the value Unlimited. The default value is Unlimited.

The following table describes the order of precedence from highest priority to lowest priority for MIME message encoding options.

 

SourceSettingValues

Mail contact or mail user

Use the preferred message format

If the value $true, the MIME message encoding settings for the mail contact or mail user override the corresponding settings in Outlook.

If the value is $false, the MIME text message encoding settings for the mail contact or mail user are ignored (the corresponding settings in Outlook, Outlook on the web, or remote domains are used).

Mail contact or mail user

Message format

MIME

Mail contact or mail user

Message body format

Text, HTML, or TextAndHtml (the default value is TextAndHtml).

Mail contact or mail user

Mac attachment format

BinHex, AppleSingle, or AppleDouble (the default value is BinHex).

Outlook or Outlook on the web

Message format

Plain text or HTML

Remote domain

Content type

MimeHtmlText (the default value), MimeText, or MimeHtml

 
Show: