Aspose::Email::Mapi::MapiConversionOptions Class Reference

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< ProgressEventHandlerInfoget_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< MapiConversionOptionsClone ()
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiConversionOptionsget_ASCIIFormat ()
 Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False). More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiConversionOptionsget_UnicodeFormat ()
 Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False). More...
 

Friends

class Aspose::Email::MailMessage
 
class Aspose::Email::Mapi::MapiMessage
 

Detailed Description

This class allows the user to specify additional options when converting from MailMessage to MapiMessage.

Constructor & Destructor Documentation

◆ MapiConversionOptions() [1/2]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::MapiConversionOptions::MapiConversionOptions ( )

Initializes a new instance of the MapiConversionOptions class.

◆ MapiConversionOptions() [2/2]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::MapiConversionOptions::MapiConversionOptions ( OutlookMessageFormat  format)

Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat.

Parameters
formatFormat of MapiMessage OutlookMessageFormat.

Member Function Documentation

◆ Clone()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiConversionOptions> Aspose::Email::Mapi::MapiConversionOptions::Clone ( )

◆ get_ASCIIFormat()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiConversionOptions> Aspose::Email::Mapi::MapiConversionOptions::get_ASCIIFormat ( )
static

◆ get_CustomProgressHandler()

ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler Aspose::Email::Mapi::MapiConversionOptions::get_CustomProgressHandler ( ) const

◆ get_ForcedRtfBodyForAppointment()

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.

◆ get_Format()

ASPOSE_EMAIL_SHARED_API OutlookMessageFormat Aspose::Email::Mapi::MapiConversionOptions::get_Format ( ) const

Represents outlook message format.

◆ get_PreserveEmbeddedMessageFormat()

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.

◆ get_PreserveOriginalAddresses()

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).

◆ get_PreserveOriginalDates()

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.

◆ get_PreserveSignature()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_PreserveSignature ( ) const

Set to true, if signature is to be preserved.

◆ get_ProgressInfo()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<ProgressEventHandlerInfo> Aspose::Email::Mapi::MapiConversionOptions::get_ProgressInfo ( ) const

◆ get_UnicodeFormat()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiConversionOptions> Aspose::Email::Mapi::MapiConversionOptions::get_UnicodeFormat ( )
static

◆ get_UseBodyCompression()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::MapiConversionOptions::get_UseBodyCompression ( ) const

Set to true, if need RTF body compression.

◆ set_CustomProgressHandler()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_CustomProgressHandler ( ConversionProgressEventHandler  value)

◆ set_ForcedRtfBodyForAppointment()

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.

◆ set_Format()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_Format ( OutlookMessageFormat  value)

Represents outlook message format.

◆ set_PreserveEmbeddedMessageFormat()

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.

◆ set_PreserveOriginalAddresses()

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).

◆ set_PreserveOriginalDates()

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.

◆ set_PreserveSignature()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_PreserveSignature ( bool  value)

Set to true, if signature is to be preserved.

◆ set_ProgressInfo()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_ProgressInfo ( System::SharedPtr< ProgressEventHandlerInfo value)

◆ set_UseBodyCompression()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiConversionOptions::set_UseBodyCompression ( bool  value)

Set to true, if need RTF body compression.

Friends And Related Function Documentation

◆ Aspose::Email::MailMessage

friend class Aspose::Email::MailMessage
friend

◆ Aspose::Email::Mapi::MapiMessage

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