Aspose::Email::MsgSaveOptions Class Reference

This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format. More...

Inherits Aspose::Email::SaveOptions.

Public Member Functions

ASPOSE_EMAIL_SHARED_API bool get_PreserveOriginalDates () const
 Gets a value indicating whether it is necessary to generate new saving and modification dates when saving a message. More...
 
ASPOSE_EMAIL_SHARED_API void set_PreserveOriginalDates (bool value)
 Sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message. More...
 
ASPOSE_EMAIL_SHARED_API bool get_PreserveSignature () const
 Set to true, if signature is to be preserved. More...
 
ASPOSE_EMAIL_SHARED_API void set_PreserveSignature (bool value)
 Set to true, if signature is to be preserved. More...
 
ASPOSE_EMAIL_SHARED_API bool get_SaveAsTemplate () const
 Set to true, if need to be saved as Outlook File Template(OFT format). More...
 
ASPOSE_EMAIL_SHARED_API void set_SaveAsTemplate (bool value)
 Set to true, if need to be saved as Outlook File Template(OFT format). More...
 
ASPOSE_EMAIL_SHARED_API MsgSaveOptions (System::SharedPtr< Aspose::Email::MailMessageSaveType > saveType)
 Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format. More...
 
- Public Member Functions inherited from Aspose::Email::SaveOptions
ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler get_CustomProgressHandler () const
 Represents method that usually supplied by calling side and handles progress events. More...
 
ASPOSE_EMAIL_SHARED_API void set_CustomProgressHandler (ConversionProgressEventHandler value)
 Represents method that usually supplied by calling side and handles progress events. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::MailMessageSaveType > 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. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from Aspose::Email::SaveOptions
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmlSaveOptionsget_DefaultEml ()
 Gets options with default values for saving message to Eml format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptionsget_DefaultMsg ()
 Gets options with default values for saving message to Msg(ASCII) format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptionsget_DefaultMsgUnicode ()
 Gets options with default values for saving message to Msg(Unicode) format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MhtSaveOptionsget_DefaultMhtml ()
 Gets options with default values for saving message to Mhtml format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< HtmlSaveOptionsget_DefaultHtml ()
 Gets options with default values for saving message to Html format. More...
 
static ASPOSE_EMAIL_SHARED_API 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 inherited from Aspose::Email::SaveOptions
ASPOSE_EMAIL_SHARED_API SaveOptions ()
 Hides the class constructor. More...
 

Detailed Description

This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.

Constructor & Destructor Documentation

◆ MsgSaveOptions()

ASPOSE_EMAIL_SHARED_API Aspose::Email::MsgSaveOptions::MsgSaveOptions ( System::SharedPtr< Aspose::Email::MailMessageSaveType >  saveType)

Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.

Member Function Documentation

◆ get_PreserveOriginalDates()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MsgSaveOptions::get_PreserveOriginalDates ( ) const

Gets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.

◆ get_PreserveSignature()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MsgSaveOptions::get_PreserveSignature ( ) const

Set to true, if signature is to be preserved.

◆ get_SaveAsTemplate()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MsgSaveOptions::get_SaveAsTemplate ( ) const

Set to true, if need to be saved as Outlook File Template(OFT format).

◆ set_PreserveOriginalDates()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::MsgSaveOptions::set_PreserveOriginalDates ( bool  value)

Sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.

◆ set_PreserveSignature()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::MsgSaveOptions::set_PreserveSignature ( bool  value)

Set to true, if signature is to be preserved.

◆ set_SaveAsTemplate()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::MsgSaveOptions::set_SaveAsTemplate ( bool  value)

Set to true, if need to be saved as Outlook File Template(OFT format).