SaveOptions

SaveOptions class

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

public abstract class SaveOptions

Properties

Name Description
CustomProgressHandler { get; set; } Represents method that usually supplied by calling side and handles progress events.
MailMessageSaveType { get; set; } Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
static DefaultEml { get; } Gets options with default values for saving message to Eml format.
static DefaultHtml { get; } Gets options with default values for saving message to Html format.
static DefaultMhtml { get; } Gets options with default values for saving message to Mhtml format.
static DefaultMsg { get; } Gets options with default values for saving message to Msg(ASCII) format.
static DefaultMsgUnicode { get; } Gets options with default values for saving message to Msg(Unicode) format.

Methods

Name Description
static CreateSaveOptions(MailMessageSaveType) Creates a save options object of a class suitable for the specified save type.

See Also