This class allows the user to specify additional options when converting from MailMessage to MapiMessage. More...
Inherits Object.
Public Member Functions | |
ConversionProgressEventHandler | get_CustomProgressHandler () const |
void | set_CustomProgressHandler (ConversionProgressEventHandler value) |
OutlookMessageFormat | get_Format () const |
Represents outlook message format. More... | |
void | set_Format (OutlookMessageFormat value) |
Represents outlook message format. 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_RemoveSignature () const |
Gets a value indicating whether signature will be removed while converting. More... | |
void | set_RemoveSignature (bool value) |
Sets a value indicating whether signature will be removed while converting. More... | |
bool | get_UseBodyCompression () const |
Set to true, if need RTF body compression. More... | |
void | set_UseBodyCompression (bool value) |
Set to true, if need RTF body compression. More... | |
bool | get_PreserveOriginalDates () const |
Gets a value indicating whether it is necessary to generate new saving and modification dates when converting a message. More... | |
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... | |
bool | get_PreserveEmptyDates () const |
Gets a value indicating whether it is necessary to generate new saving and modification dates when converting a message. More... | |
void | set_PreserveEmptyDates (bool value) |
Sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message. More... | |
bool | get_PreserveOriginalAddresses () const |
Gets a value indicating whether it is necessary to keep original value of mail addresses (without validation). More... | |
void | set_PreserveOriginalAddresses (bool value) |
Sets a value indicating whether it is necessary to keep original value of mail addresses (without validation). More... | |
bool | get_PreserveEmbeddedMessageFormat () const |
Gets a value indicating whether it is necessary to preserve EML format of embedded message at converting to MapiMessage. By default the value is false. More... | |
void | set_PreserveEmbeddedMessageFormat (bool value) |
Sets a value indicating whether it is necessary to preserve EML format of embedded message at converting to MapiMessage. By default the value is false. More... | |
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... | |
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... | |
System::SharedPtr< ProgressEventHandlerInfo > | get_ProgressInfo () const |
void | set_ProgressInfo (System::SharedPtr< ProgressEventHandlerInfo > value) |
MapiConversionOptions () | |
Initializes a new instance of the MapiConversionOptions class. More... | |
MapiConversionOptions (OutlookMessageFormat format) | |
Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat. More... | |
System::SharedPtr< MapiConversionOptions > | Clone () |
Static Public Member Functions | |
static System::SharedPtr< MapiConversionOptions > | get_ASCIIFormat () |
Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False). More... | |
static 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::Mapi::MapiConversionOptions::MapiConversionOptions | ( | ) |
Initializes a new instance of the MapiConversionOptions class.
Aspose::Email::Mapi::MapiConversionOptions::MapiConversionOptions | ( | OutlookMessageFormat | format | ) |
Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat.
format | Format of MapiMessage OutlookMessageFormat. |
System::SharedPtr<MapiConversionOptions> Aspose::Email::Mapi::MapiConversionOptions::Clone | ( | ) |
|
static |
Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False).
ConversionProgressEventHandler Aspose::Email::Mapi::MapiConversionOptions::get_CustomProgressHandler | ( | ) | const |
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.
OutlookMessageFormat Aspose::Email::Mapi::MapiConversionOptions::get_Format | ( | ) | const |
Represents outlook message format.
bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveEmbeddedMessageFormat | ( | ) | const |
Gets a value indicating whether it is necessary to preserve EML format of embedded message at converting to MapiMessage. By default the value is false.
Generally, embedded messages have the same format (EML or MSG) as the underlying message. By default, when converting from EML to MSG and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of embedded messages.
bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveEmptyDates | ( | ) | const |
Gets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
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).
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.
bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveSignature | ( | ) | const |
Set to true, if signature is to be preserved.
System::SharedPtr<ProgressEventHandlerInfo> Aspose::Email::Mapi::MapiConversionOptions::get_ProgressInfo | ( | ) | const |
bool Aspose::Email::Mapi::MapiConversionOptions::get_RemoveSignature | ( | ) | const |
Gets a value indicating whether signature will be removed while converting.
true
if will be removed; otherwise, false
.
|
static |
Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False).
bool Aspose::Email::Mapi::MapiConversionOptions::get_UseBodyCompression | ( | ) | const |
Set to true, if need RTF body compression.
void Aspose::Email::Mapi::MapiConversionOptions::set_CustomProgressHandler | ( | ConversionProgressEventHandler | value | ) |
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.
void Aspose::Email::Mapi::MapiConversionOptions::set_Format | ( | OutlookMessageFormat | value | ) |
Represents outlook message format.
void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveEmbeddedMessageFormat | ( | bool | value | ) |
Sets a value indicating whether it is necessary to preserve EML format of embedded message at converting to MapiMessage. By default the value is false.
Generally, embedded messages have the same format (EML or MSG) as the underlying message. By default, when converting from EML to MSG and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of embedded messages.
void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveEmptyDates | ( | bool | value | ) |
Sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
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).
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.
void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveSignature | ( | bool | value | ) |
Set to true, if signature is to be preserved.
void Aspose::Email::Mapi::MapiConversionOptions::set_ProgressInfo | ( | System::SharedPtr< ProgressEventHandlerInfo > | value | ) |
void Aspose::Email::Mapi::MapiConversionOptions::set_RemoveSignature | ( | bool | value | ) |
Sets a value indicating whether signature will be removed while converting.
true
if will be removed; otherwise, false
.
void Aspose::Email::Mapi::MapiConversionOptions::set_UseBodyCompression | ( | bool | value | ) |
Set to true, if need RTF body compression.
|
friend |
|
friend |