MsgLoadOptions

MsgLoadOptions class

Allows to specify additional options when loading MailMessage from Msg format.

The MsgLoadOptions type exposes the following members:

Constructors

NameDescription
MsgLoadOptions()Initializes a new instance of this class that can be used to loading MailMessage from Msg format.

Properties

NameDescription
preferred_text_encodingGets or sets preferred encoding for message.
Forcibly sets the preferred encoding for message subject and body.
The default value is null.
message_formatRepresents the mail message format.It can be in eml,msg or mhtml format.
The default value is Eml.
preserve_embedded_message_formatGets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading. By default the value is false.
remove_signatureGets or sets a value indicating whether signature will be removed while loading.
preserve_tnef_attachmentsControls loading TNEF attachment behaviour. By default the value is false.
decode_signed_contentGets or sets a value indicating whether signed message will be decoded.
keep_original_email_addressesGets or sets a value indicating whether need keep original email address.
preserve_rtf_contentGets or sets a value indicating whether need keep rtf body in MailMessage.
timeoutLimits the time in milliseconds of formatting message while converting.
Default value 3 sec.

See Also