Specify additional options when converting from MapiMessage to MailMessage. More...
Inherits Object.
Public Member Functions | |
| bool | get_ConvertAsTnef () const |
| Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment. More... | |
| void | set_ConvertAsTnef (bool value) |
| Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment. More... | |
| bool | get_PreserveEmbeddedMessageFormat () const |
| Gets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. By default the value is false. More... | |
| void | set_PreserveEmbeddedMessageFormat (bool value) |
| Sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. By default the value is false. More... | |
| bool | get_KeepOriginalEmailAddresses () const |
| Gets a value indicating whether need keep original email address. More... | |
| void | set_KeepOriginalEmailAddresses (bool value) |
| Sets a value indicating whether need keep original email address. More... | |
| bool | get_PreserveRtfContent () const |
| Gets a value indicating whether need keep rtf body in MailMessage. More... | |
| void | set_PreserveRtfContent (bool value) |
| Sets a value indicating whether need keep rtf body in MailMessage. More... | |
| int32_t | get_Timeout () const |
| Limits the time in milliseconds of formatting message while converting. Default value 3 sec. More... | |
| void | set_Timeout (int32_t value) |
| Limits the time in milliseconds of formatting message while converting. Default value 3 sec. More... | |
| void | OnTimeoutReached (System::SharedPtr< MailMessage > msg) |
| MailConversionOptions () | |
Public Attributes | |
| System::EventHandler | TimeoutReached |
| Raised if timed out while converting to MailMessage. More... | |
Specify additional options when converting from MapiMessage to MailMessage.
| Aspose::Email::Mapi::MailConversionOptions::MailConversionOptions | ( | ) |
| bool Aspose::Email::Mapi::MailConversionOptions::get_ConvertAsTnef | ( | ) | const |
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
| bool Aspose::Email::Mapi::MailConversionOptions::get_KeepOriginalEmailAddresses | ( | ) | const |
Gets a value indicating whether need keep original email address.
| bool Aspose::Email::Mapi::MailConversionOptions::get_PreserveEmbeddedMessageFormat | ( | ) | const |
Gets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. 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 MSG to EML and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of the embedded messages.
| bool Aspose::Email::Mapi::MailConversionOptions::get_PreserveRtfContent | ( | ) | const |
Gets a value indicating whether need keep rtf body in MailMessage.
| int32_t Aspose::Email::Mapi::MailConversionOptions::get_Timeout | ( | ) | const |
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
| void Aspose::Email::Mapi::MailConversionOptions::OnTimeoutReached | ( | System::SharedPtr< MailMessage > | msg | ) |
| void Aspose::Email::Mapi::MailConversionOptions::set_ConvertAsTnef | ( | bool | value | ) |
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
| void Aspose::Email::Mapi::MailConversionOptions::set_KeepOriginalEmailAddresses | ( | bool | value | ) |
Sets a value indicating whether need keep original email address.
| void Aspose::Email::Mapi::MailConversionOptions::set_PreserveEmbeddedMessageFormat | ( | bool | value | ) |
Sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. 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 MSG to EML and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of the embedded messages.
| void Aspose::Email::Mapi::MailConversionOptions::set_PreserveRtfContent | ( | bool | value | ) |
Sets a value indicating whether need keep rtf body in MailMessage.
| void Aspose::Email::Mapi::MailConversionOptions::set_Timeout | ( | int32_t | value | ) |
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
| System::EventHandler Aspose::Email::Mapi::MailConversionOptions::TimeoutReached |
Raised if timed out while converting to MailMessage.