Allows to specify additional options when loading MailMessage from Msg format. More...
Inherits Aspose::Email::LoadOptions.
Public Member Functions | |
| bool | get_PreserveTnefAttachments () const |
| Controls loading TNEF attachment behaviour. By default the value is false. More... | |
| void | set_PreserveTnefAttachments (bool value) |
| Controls loading TNEF attachment behaviour. 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... | |
| MsgLoadOptions () | |
| Initializes a new instance of this class that can be used to loading MailMessage from Msg format. More... | |
| void | OnTimeoutReached (System::SharedPtr< MailMessage > msg) |
Public Member Functions inherited from Aspose::Email::LoadOptions | |
| System::SharedPtr< System::Text::Encoding > | get_PreferredTextEncoding () const |
| Gets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null. More... | |
| void | set_PreferredTextEncoding (System::SharedPtr< System::Text::Encoding > value) |
| Sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null. More... | |
| System::SharedPtr< Aspose::Email::MessageFormat > | get_MessageFormat () const |
| Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml. More... | |
| bool | get_PreserveEmbeddedMessageFormat () const |
| Gets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false. More... | |
| void | set_PreserveEmbeddedMessageFormat (bool value) |
| Sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false. More... | |
| bool | get_RemoveSignature () const |
| Gets a value indicating whether signature will be removed while loading. More... | |
| void | set_RemoveSignature (bool value) |
| Sets a value indicating whether signature will be removed while loading. More... | |
| System::SharedPtr< Aspose::Email::VentureLicense > | get_VentureLicense () const |
| This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object. More... | |
| void | set_VentureLicense (System::SharedPtr< Aspose::Email::VentureLicense > value) |
| This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object. More... | |
| LoadOptions () | |
Public Attributes | |
| System::EventHandler | TimeoutReached |
| Raised if timed out while converting to MailMessage. More... | |
Public Attributes inherited from Aspose::Email::LoadOptions | |
| bool | IncreaseCredit |
| System::SharedPtr< System::Text::Encoding > | preferredTextEncoding |
| System::SharedPtr< Aspose::Email::MessageFormat > | messageFormat |
Friends | |
| class | Aspose::Email::MailMessage |
Allows to specify additional options when loading MailMessage from Msg format.
| Aspose::Email::MsgLoadOptions::MsgLoadOptions | ( | ) |
Initializes a new instance of this class that can be used to loading MailMessage from Msg format.
| bool Aspose::Email::MsgLoadOptions::get_KeepOriginalEmailAddresses | ( | ) | const |
Gets a value indicating whether need keep original email address.
| bool Aspose::Email::MsgLoadOptions::get_PreserveRtfContent | ( | ) | const |
Gets a value indicating whether need keep rtf body in MailMessage.
| bool Aspose::Email::MsgLoadOptions::get_PreserveTnefAttachments | ( | ) | const |
Controls loading TNEF attachment behaviour. By default the value is false.
If a message contains a TNEF attachment (winmail.dat), then this property defines whether files from TNEF will be decoded and extracted. The winmail.dat attachment remains as it is if the property value is true.
| int32_t Aspose::Email::MsgLoadOptions::get_Timeout | ( | ) | const |
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
| void Aspose::Email::MsgLoadOptions::OnTimeoutReached | ( | System::SharedPtr< MailMessage > | msg | ) |
| void Aspose::Email::MsgLoadOptions::set_KeepOriginalEmailAddresses | ( | bool | value | ) |
Sets a value indicating whether need keep original email address.
| void Aspose::Email::MsgLoadOptions::set_PreserveRtfContent | ( | bool | value | ) |
Sets a value indicating whether need keep rtf body in MailMessage.
| void Aspose::Email::MsgLoadOptions::set_PreserveTnefAttachments | ( | bool | value | ) |
Controls loading TNEF attachment behaviour. By default the value is false.
If a message contains a TNEF attachment (winmail.dat), then this property defines whether files from TNEF will be decoded and extracted. The winmail.dat attachment remains as it is if the property value is true.
| void Aspose::Email::MsgLoadOptions::set_Timeout | ( | int32_t | value | ) |
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
|
friend |
| System::EventHandler Aspose::Email::MsgLoadOptions::TimeoutReached |
Raised if timed out while converting to MailMessage.