EmlSaveOptions

EmlSaveOptions class

Allows to specify additional options when saving MailMessage to Eml and Emlx format.

The EmlSaveOptions type exposes the following members:

Constructors

NameDescription
EmlSaveOptions(save_type)Initializes a new instance of the EmlSaveOptions class

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.
file_compatibility_modeDefines inner conversions,that are necessarily to be done when saving a message.
The default value is FileCompatibilityMode.None.
preserve_signed_contentGets or sets a value indicating whether it is necessary to save signed message
without changes of content to provide correctly structure of digital sign.
By default the value is false.
check_body_content_encodingDefines whether need check message body content encoding when saving. By default the value is false.
preserve_embedded_message_formatGets or sets a value indicating whether it is necessary to preserve MSG format of
embedded message at converting to MailMessage. By default the value is false.

Methods

NameDescription
create_save_options(save_type)

See Also