Enum MhtFormatOptions

MhtFormatOptions enumeration

Defines options for saving a message to MHTML. The values can be combined.

[Flags]
public enum MhtFormatOptions

Values

NameValueDescription
None0No options.
WriteHeader1Write the headers of the message above the body.
WriteOutlineAttachments2Write the list of attachments in the headers.
WriteCompleteEmailAddress4Write the full e-mail addresses, not only the display names, in all headers.
NoEncodeCharacters8Do not apply a transfer encoding to the characters of the body.
HideExtraPrintHeader10Hide the page header.
WriteCompleteToEmailAddress20Write the full e-mail address, not only the display name, in the To header.
WriteCompleteFromEmailAddress40Write the full e-mail address, not only the display name, in the From header.
WriteCompleteCcEmailAddress80Write the full e-mail address, not only the display name, in the Cc header.
WriteCompleteBccEmailAddress100Write the full e-mail address, not only the display name, in the Bcc header.
RenderCalendarEvent200Write the details of a calendar event the message carries.
SkipByteOrderMarkInBody400Do not write a byte order mark (BOM) at the start of the body.
RenderVCardInfo800Write the details of a vCard the message carries.
DisplayAsOutlook1000Write the From header the way Outlook shows it.
RenderTaskFields2000Write the fields of a task.

See Also