HtmlLoadOptions

HtmlLoadOptions class

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

The HtmlLoadOptions type exposes the following members:

Constructors

NameDescription
HtmlLoadOptions()Initializes a new instance of this class that can be used to loading MailMessage from Html 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.
path_to_resourcesPath to directory with resources files.
should_add_plain_text_viewSpecifies whether to add a text representation of the body or not.
Default value is false.

See Also