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

Inherits Object.

Inherited by Aspose::Email::EmlSaveOptions, Aspose::Email::HeadersFormattingOptions, and Aspose::Email::MsgSaveOptions.

Public Member Functions

ConversionProgressEventHandler get_CustomProgressHandler () const
 Represents method that usually supplied by calling side and handles progress events. More...
 
void set_CustomProgressHandler (ConversionProgressEventHandler value)
 Represents method that usually supplied by calling side and handles progress events. More...
 
System::SharedPtr< Aspose::Email::MailMessageSaveTypeget_MailMessageSaveType () const
 Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml. More...
 
void set_MailMessageSaveType (System::SharedPtr< Aspose::Email::MailMessageSaveType > value)
 Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml. More...
 

Static Public Member Functions

static System::SharedPtr< EmlSaveOptionsget_DefaultEml ()
 Gets options with default values for saving message to Eml format. More...
 
static System::SharedPtr< EmlSaveOptionsget_DefaultEmlx ()
 Gets options with default values for saving message to Emlx format. More...
 
static System::SharedPtr< MsgSaveOptionsget_DefaultMsg ()
 Gets options with default values for saving message to Msg(ASCII) format. More...
 
static System::SharedPtr< MsgSaveOptionsget_DefaultMsgUnicode ()
 Gets options with default values for saving message to Msg(Unicode) format. More...
 
static System::SharedPtr< MsgSaveOptionsget_DefaultOft ()
 Gets options with default values for saving message to Outlook template (Oft) format. More...
 
static System::SharedPtr< MhtSaveOptionsget_DefaultMhtml ()
 Gets options with default values for saving message to Mhtml format. More...
 
static System::SharedPtr< HtmlSaveOptionsget_DefaultHtml ()
 Gets options with default values for saving message to Html format. More...
 
static System::SharedPtr< SaveOptionsCreateSaveOptions (System::SharedPtr< Aspose::Email::MailMessageSaveType > saveType)
 Creates a save options object of a class suitable for the specified save type. More...
 

Protected Member Functions

 SaveOptions ()
 Hides the class constructor. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SaveOptions()

Aspose::Email::SaveOptions::SaveOptions ( )
protected

Hides the class constructor.

Member Function Documentation

◆ CreateSaveOptions()

static System::SharedPtr<SaveOptions> Aspose::Email::SaveOptions::CreateSaveOptions ( System::SharedPtr< Aspose::Email::MailMessageSaveType saveType)
static

Creates a save options object of a class suitable for the specified save type.

Parameters
saveTypeThe save type for which to create a save options object.
Returns
An object of a class that derives from SaveOptions.

◆ get_CustomProgressHandler()

ConversionProgressEventHandler Aspose::Email::SaveOptions::get_CustomProgressHandler ( ) const

Represents method that usually supplied by calling side and handles progress events.

◆ get_DefaultEml()

static System::SharedPtr<EmlSaveOptions> Aspose::Email::SaveOptions::get_DefaultEml ( )
static

Gets options with default values for saving message to Eml format.

◆ get_DefaultEmlx()

static System::SharedPtr<EmlSaveOptions> Aspose::Email::SaveOptions::get_DefaultEmlx ( )
static

Gets options with default values for saving message to Emlx format.

◆ get_DefaultHtml()

static System::SharedPtr<HtmlSaveOptions> Aspose::Email::SaveOptions::get_DefaultHtml ( )
static

Gets options with default values for saving message to Html format.

◆ get_DefaultMhtml()

static System::SharedPtr<MhtSaveOptions> Aspose::Email::SaveOptions::get_DefaultMhtml ( )
static

Gets options with default values for saving message to Mhtml format.

◆ get_DefaultMsg()

static System::SharedPtr<MsgSaveOptions> Aspose::Email::SaveOptions::get_DefaultMsg ( )
static

Gets options with default values for saving message to Msg(ASCII) format.

◆ get_DefaultMsgUnicode()

static System::SharedPtr<MsgSaveOptions> Aspose::Email::SaveOptions::get_DefaultMsgUnicode ( )
static

Gets options with default values for saving message to Msg(Unicode) format.

◆ get_DefaultOft()

static System::SharedPtr<MsgSaveOptions> Aspose::Email::SaveOptions::get_DefaultOft ( )
static

Gets options with default values for saving message to Outlook template (Oft) format.

◆ get_MailMessageSaveType()

System::SharedPtr<Aspose::Email::MailMessageSaveType> Aspose::Email::SaveOptions::get_MailMessageSaveType ( ) const

Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.

◆ set_CustomProgressHandler()

void Aspose::Email::SaveOptions::set_CustomProgressHandler ( ConversionProgressEventHandler  value)

Represents method that usually supplied by calling side and handles progress events.

◆ set_MailMessageSaveType()

void Aspose::Email::SaveOptions::set_MailMessageSaveType ( System::SharedPtr< Aspose::Email::MailMessageSaveType value)

Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.