Class LoadOptions

LoadOptions class

This is an abstract base class for classes that allow the user to specify additional options when loading a MailMessage from a particular format.

public abstract class LoadOptions

Properties

NameDescription
MessageFormat { get; }Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.
PreferredTextEncoding { get; set; }Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
PreserveEmbeddedMessageFormat { get; set; }Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false.
RemoveSignature { get; set; }Gets or sets a value indicating whether signature will be removed while loading.

See Also