MsgSaveOptions

MsgSaveOptions class

This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.

The MsgSaveOptions type exposes the following members:

Constructors

NameDescription
MsgSaveOptions(save_type)Initializes a new instance of the MsgSaveOptions 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.
preserve_original_datesGets or sets a value indicating whether it is necessary to generate
new saving and modification dates when saving a message.
By default the value is false, meaning the creation and modification dates will be set to DateTime.Now.
preserve_signatureSet to true, if signature is to be preserved.
save_as_templateSet to true, if need to be saved as Outlook File Template(OFT format).

Methods

NameDescription
create_save_options(save_type)

See Also