This class allows the user to specify additional options when converting from MailMessage to MapiMessage. More...
Inherits Object.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler | get_CustomProgressHandler () const |
ASPOSE_EMAIL_SHARED_API void | set_CustomProgressHandler (ConversionProgressEventHandler value) |
ASPOSE_EMAIL_SHARED_API OutlookMessageFormat | get_Format () const |
Represents outlook message format. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Format (OutlookMessageFormat value) |
Represents outlook message format. 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_UseBodyCompression () const |
Set to true, if need RTF body compression. More... | |
ASPOSE_EMAIL_SHARED_API void | set_UseBodyCompression (bool value) |
Set to true, if need RTF body compression. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_PreserveOriginalDates () const |
Gets a value indicating whether it is necessary to generate new saving and modification dates when converting 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 converting a message. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_PreserveOriginalAddresses () const |
Gets a value indicating whether it is necessary to keep original value of mail addresses (without validation). More... | |
ASPOSE_EMAIL_SHARED_API void | set_PreserveOriginalAddresses (bool value) |
Sets a value indicating whether it is necessary to keep original value of mail addresses (without validation). More... | |
ASPOSE_EMAIL_SHARED_API bool | get_PreserveEmbeddedMessageFormat () const |
Gets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment. More... | |
ASPOSE_EMAIL_SHARED_API void | set_PreserveEmbeddedMessageFormat (bool value) |
Sets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_ForcedRtfBodyForAppointment () const |
Gets a value indicating whether it is necessary to use forced RTF body for an appointment. Default value is true. More... | |
ASPOSE_EMAIL_SHARED_API void | set_ForcedRtfBodyForAppointment (bool value) |
Sets a value indicating whether it is necessary to use forced RTF body for an appointment. Default value is true. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< ProgressEventHandlerInfo > | get_ProgressInfo () const |
ASPOSE_EMAIL_SHARED_API void | set_ProgressInfo (System::SharedPtr< ProgressEventHandlerInfo > value) |
ASPOSE_EMAIL_SHARED_API | MapiConversionOptions () |
Initializes a new instance of the MapiConversionOptions class. More... | |
ASPOSE_EMAIL_SHARED_API | MapiConversionOptions (OutlookMessageFormat format) |
Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiConversionOptions > | Clone () |
Static Public Member Functions | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiConversionOptions > | get_ASCIIFormat () |
Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False). More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiConversionOptions > | get_UnicodeFormat () |
Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False). More... | |
Friends | |
class | Aspose::Email::MailMessage |
class | Aspose::Email::Mapi::MapiMessage |
This class allows the user to specify additional options when converting from MailMessage to MapiMessage.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::MapiConversionOptions::MapiConversionOptions | ( | ) |
Initializes a new instance of the MapiConversionOptions class.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::MapiConversionOptions::MapiConversionOptions | ( | OutlookMessageFormat | format | ) |
Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat.
format | Format of MapiMessage OutlookMessageFormat. |
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiConversionOptions> Aspose::Email::Mapi::MapiConversionOptions::Clone | ( | ) |
|
static |
Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False).
ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler Aspose::Email::Mapi::MapiConversionOptions::get_CustomProgressHandler | ( | ) | const |
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_ForcedRtfBodyForAppointment | ( | ) | const |
Gets a value indicating whether it is necessary to use forced RTF body for an appointment. Default value is true.
ASPOSE_EMAIL_SHARED_API OutlookMessageFormat Aspose::Email::Mapi::MapiConversionOptions::get_Format | ( | ) | const |
Represents outlook message format.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveEmbeddedMessageFormat | ( | ) | const |
Gets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveOriginalAddresses | ( | ) | const |
Gets a value indicating whether it is necessary to keep original value of mail addresses (without validation).
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveOriginalDates | ( | ) | const |
Gets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveSignature | ( | ) | const |
Set to true, if signature is to be preserved.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<ProgressEventHandlerInfo> Aspose::Email::Mapi::MapiConversionOptions::get_ProgressInfo | ( | ) | const |
|
static |
Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False).
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_UseBodyCompression | ( | ) | const |
Set to true, if need RTF body compression.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_CustomProgressHandler | ( | ConversionProgressEventHandler | value | ) |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_ForcedRtfBodyForAppointment | ( | bool | value | ) |
Sets a value indicating whether it is necessary to use forced RTF body for an appointment. Default value is true.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_Format | ( | OutlookMessageFormat | value | ) |
Represents outlook message format.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveEmbeddedMessageFormat | ( | bool | value | ) |
Sets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveOriginalAddresses | ( | bool | value | ) |
Sets a value indicating whether it is necessary to keep original value of mail addresses (without validation).
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveOriginalDates | ( | bool | value | ) |
Sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveSignature | ( | bool | value | ) |
Set to true, if signature is to be preserved.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_ProgressInfo | ( | System::SharedPtr< ProgressEventHandlerInfo > | value | ) |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_UseBodyCompression | ( | bool | value | ) |
Set to true, if need RTF body compression.
|
friend |
|
friend |