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 | |
| bool | get_PreserveOriginalDates () const |
| Gets a value indicating whether it is necessary to generate new saving and modification dates when saving a message. By default the value is false, meaning the creation and modification dates will be set to DateTime.Now. More... | |
| void | set_PreserveOriginalDates (bool value) |
| Sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message. By default the value is false, meaning the creation and modification dates will be set to DateTime.Now. More... | |
| bool | get_PreserveSignature () const |
| Set to true, if signature is to be preserved. More... | |
| void | set_PreserveSignature (bool value) |
| Set to true, if signature is to be preserved. More... | |
| bool | get_SaveAsTemplate () const |
| Set to true, if need to be saved as Outlook File Template(OFT format). More... | |
| void | set_SaveAsTemplate (bool value) |
| Set to true, if need to be saved as Outlook File Template(OFT format). More... | |
| 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 | |
| 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::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... | |
| 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 System::SharedPtr< EmlSaveOptions > | get_DefaultEml () |
| Gets options with default values for saving message to Eml format. More... | |
| static System::SharedPtr< EmlSaveOptions > | get_DefaultEmlx () |
| Gets options with default values for saving message to Emlx format. More... | |
| static System::SharedPtr< MsgSaveOptions > | get_DefaultMsg () |
| Gets options with default values for saving message to Msg(ASCII) format. More... | |
| static System::SharedPtr< MsgSaveOptions > | get_DefaultMsgUnicode () |
| Gets options with default values for saving message to Msg(Unicode) format. More... | |
| static System::SharedPtr< MsgSaveOptions > | get_DefaultOft () |
| Gets options with default values for saving message to Outlook template (Oft) format. More... | |
| static System::SharedPtr< MhtSaveOptions > | get_DefaultMhtml () |
| Gets options with default values for saving message to Mhtml format. More... | |
| static System::SharedPtr< HtmlSaveOptions > | get_DefaultHtml () |
| Gets options with default values for saving message to Html format. More... | |
| static System::SharedPtr< SaveOptions > | CreateSaveOptions (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 | |
| SaveOptions () | |
| Hides the class constructor. More... | |
This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
The following example shows how to save as MSG with preserved dates.
[C#]
[Visual Basic]
| 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.
| 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. By default the value is false, meaning the creation and modification dates will be set to DateTime.Now.
| bool Aspose::Email::MsgSaveOptions::get_PreserveSignature | ( | ) | const |
Set to true, if signature is to be preserved.
| bool Aspose::Email::MsgSaveOptions::get_SaveAsTemplate | ( | ) | const |
Set to true, if need to be saved as Outlook File Template(OFT format).
| 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. By default the value is false, meaning the creation and modification dates will be set to DateTime.Now.
| void Aspose::Email::MsgSaveOptions::set_PreserveSignature | ( | bool | value | ) |
Set to true, if signature is to be preserved.
| void Aspose::Email::MsgSaveOptions::set_SaveAsTemplate | ( | bool | value | ) |
Set to true, if need to be saved as Outlook File Template(OFT format).