HeadersFormattingOptions

HeadersFormattingOptions class

Allows to specify headers formatting options when saving MailMessage to Mhtml or Html format.

The HeadersFormattingOptions type exposes the following members:

Properties

NameDescription
mail_message_save_typeRepresents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format.
The default value is Eml.
default_emlGets options with default values for saving message to Eml format.
default_emlxGets options with default values for saving message to Emlx format.
default_msgGets options with default values for saving message to Msg(ASCII) format.
default_msg_unicodeGets options with default values for saving message to Msg(Unicode) format.
default_oftGets options with default values for saving message to Outlook template (Oft) format.
default_mhtmlGets options with default values for saving message to Mhtml format.
default_htmlGets options with default values for saving message to Html format.
rendered_contact_fieldsDefines groups of Contact fields which will be included in output mhtml.
Default value is ContactFieldsSet.AllExisting.
css_stylesGets or sets the additional css styles for the formatter.
default_page_header_formatDefault page header format.
default_header_formatDefault header line format.
before_headers_formatBefore headers format.
after_headers_formatAfter headers format.
rendering_headersGets list of headers for rendering.

Methods

NameDescription
create_save_options(save_type)

See Also