Aspose::Email::LoadOptions Class Reference

This is an abstract base class for classes that allow the user to specify additional options when loading a MailMessage from a particular format. More...

Inherits Object.

Inherited by Aspose::Email::EmlLoadOptions, Aspose::Email::EmlxLoadOptions, Aspose::Email::HtmlLoadOptions, Aspose::Email::MhtmlLoadOptions, Aspose::Email::MsgLoadOptions, and Aspose::Email::TnefLoadOptions.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Text::Encoding > get_PrefferedTextEncoding () const
 Gets preferred encoding for message. The default value is null. More...
 
ASPOSE_EMAIL_SHARED_API void set_PrefferedTextEncoding (System::SharedPtr< System::Text::Encoding > value)
 Sets preferred encoding for message. The default value is null. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API bool get_PreserveEmbeddedMessageFormat () const
 Gets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage. More...
 
ASPOSE_EMAIL_SHARED_API void set_PreserveEmbeddedMessageFormat (bool value)
 Sets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API LoadOptions ()
 

Public Attributes

bool IncreaseCredit
 
System::SharedPtr< System::Text::Encoding > prefferedTextEncoding
 
System::SharedPtr< Aspose::Email::MessageFormat > messageFormat
 

Friends

class Aspose::Email::MailMessage
 
class Aspose::Email::TnefLoadOptions
 
class Aspose::Email::EmlxLoadOptions
 
class Aspose::Email::EmlLoadOptions
 
class Aspose::Email::HtmlLoadOptions
 
class Aspose::Email::MhtmlLoadOptions
 
class Aspose::Email::MsgLoadOptions
 
class Aspose::Email::Mapi::MapiMessage
 

Detailed Description

This is an abstract base class for classes that allow the user to specify additional options when loading a MailMessage from a particular format.

Constructor & Destructor Documentation

◆ LoadOptions()

ASPOSE_EMAIL_SHARED_API Aspose::Email::LoadOptions::LoadOptions ( )

Member Function Documentation

◆ get_MessageFormat()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::MessageFormat> Aspose::Email::LoadOptions::get_MessageFormat ( ) const

Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.

◆ get_PrefferedTextEncoding()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Text::Encoding> Aspose::Email::LoadOptions::get_PrefferedTextEncoding ( ) const

Gets preferred encoding for message. The default value is null.

◆ get_PreserveEmbeddedMessageFormat()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::LoadOptions::get_PreserveEmbeddedMessageFormat ( ) const

Gets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage.

◆ get_VentureLicense()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::VentureLicense> Aspose::Email::LoadOptions::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.

◆ set_PrefferedTextEncoding()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::LoadOptions::set_PrefferedTextEncoding ( System::SharedPtr< System::Text::Encoding >  value)

Sets preferred encoding for message. The default value is null.

◆ set_PreserveEmbeddedMessageFormat()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::LoadOptions::set_PreserveEmbeddedMessageFormat ( bool  value)

Sets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage.

◆ set_VentureLicense()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::LoadOptions::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.

Friends And Related Function Documentation

◆ Aspose::Email::EmlLoadOptions

friend class Aspose::Email::EmlLoadOptions
friend

◆ Aspose::Email::EmlxLoadOptions

friend class Aspose::Email::EmlxLoadOptions
friend

◆ Aspose::Email::HtmlLoadOptions

friend class Aspose::Email::HtmlLoadOptions
friend

◆ Aspose::Email::MailMessage

friend class Aspose::Email::MailMessage
friend

◆ Aspose::Email::Mapi::MapiMessage

friend class Aspose::Email::Mapi::MapiMessage
friend

◆ Aspose::Email::MhtmlLoadOptions

friend class Aspose::Email::MhtmlLoadOptions
friend

◆ Aspose::Email::MsgLoadOptions

friend class Aspose::Email::MsgLoadOptions
friend

◆ Aspose::Email::TnefLoadOptions

friend class Aspose::Email::TnefLoadOptions
friend

Member Data Documentation

◆ IncreaseCredit

bool Aspose::Email::LoadOptions::IncreaseCredit

◆ messageFormat

System::SharedPtr<Aspose::Email::MessageFormat> Aspose::Email::LoadOptions::messageFormat

◆ prefferedTextEncoding

System::SharedPtr<System::Text::Encoding> Aspose::Email::LoadOptions::prefferedTextEncoding