HtmlSaveOptions

HtmlSaveOptions class

Allows to specify additional options when saving MailMessage to Html format.

The HtmlSaveOptions type exposes the following members:

Constructors

NameDescription
HtmlSaveOptions()Initializes a new instance of this class that can be used to save a MailMessage in the Html format.

Properties

NameDescription
mail_message_save_type
default_eml
default_emlx
default_msg
default_msg_unicode
default_oft
default_mhtml
default_html
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.
html_format_optionsGets or sets additional options when saving in HTML format.
Default value is HtmlFormatOptions.None.
check_body_content_encodingDefines whether need check message body content encoding when saving. By default the value is false.
resource_rendering_modeProvides set various modes of rendering resources in html.
Default value EmbedIntoHtml.
use_relative_path_to_resourcesDefault value is false.

Methods

NameDescription
create_save_options(save_type)

See Also