EmlLoadOptions

EmlLoadOptions class

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

public class EmlLoadOptions : LoadOptions

Constructors

Name Description
EmlLoadOptions() Initializes a new instance of this class that can be used to loading MailMessage from Eml format.

Properties

Name Description
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.
PreserveTnefAttachments { get; set; } Controls TNEF attachment loading behaviour. By default the value is false.

See Also