Aspose::Email::Tools::ResponseMessageBuilder Class Referenceabstract

Provides creation and formatting the forwarding and replying messages. More...

Inherits Object.

Inherited by Aspose::Email::Tools::ForwardMessageBuilder, and Aspose::Email::Tools::ReplyMessageBuilder.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_HtmlEvaluationMessage ()
 
ASPOSE_EMAIL_SHARED_API System::String get_TextEvaluationMessage ()
 
ASPOSE_EMAIL_SHARED_API System::String get_RtfEvaluationMessage ()
 
ASPOSE_EMAIL_SHARED_API OriginalMessageAdditionMode get_AdditionMode () const
 Gets the format of response message. More...
 
ASPOSE_EMAIL_SHARED_API void set_AdditionMode (OriginalMessageAdditionMode value)
 Sets the format of response message. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressget_Sender () const
 Gets the addres from which the response message will be sent. More...
 
ASPOSE_EMAIL_SHARED_API void set_Sender (System::SharedPtr< MailAddress > value)
 Sets the addres from which the response message will be sent. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_ResponseText () const
 Gets the body of response message. More...
 
ASPOSE_EMAIL_SHARED_API void set_ResponseText (System::String value)
 Sets the body of response message. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailMessageBuildResponse (System::SharedPtr< MailMessage > msg)=0
 Builds the forwarding and replying messages. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Mapi::MapiMessage > BuildResponse (System::SharedPtr< Aspose::Email::Mapi::MapiMessage > msg)=0
 Builds the forwarding and replying messages. More...
 
ASPOSE_EMAIL_SHARED_API void SetVentureLicense (System::SharedPtr< System::Object > ventureLicense)
 All Aspose products should implement this method. It is called by a GroupDocs product to indicate whether GroupDocs itself is licensed or not and specify a custom watermark. When GroupDocs is licensed, this document instance should behave as licensed too even if the Aspose product is not licensed. More...
 
ASPOSE_EMAIL_SHARED_API void SetContent (System::SharedPtr< MailMessage > src, System::SharedPtr< MailMessage > dst)
 Sets the content. More...
 
ASPOSE_EMAIL_SHARED_API void SetContent (System::SharedPtr< Aspose::Email::Mapi::MapiMessage > src, System::SharedPtr< Aspose::Email::Mapi::MapiMessage > dst)
 Sets the content. More...
 
ASPOSE_EMAIL_SHARED_API ResponseMessageBuilder ()
 

Detailed Description

Provides creation and formatting the forwarding and replying messages.

Constructor & Destructor Documentation

◆ ResponseMessageBuilder()

ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::ResponseMessageBuilder::ResponseMessageBuilder ( )

Member Function Documentation

◆ BuildResponse() [1/2]

virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::Mapi::MapiMessage> Aspose::Email::Tools::ResponseMessageBuilder::BuildResponse ( System::SharedPtr< Aspose::Email::Mapi::MapiMessage >  msg)
pure virtual

Builds the forwarding and replying messages.

Parameters
msgOriginal message Aspose::Email::Mapi::MapiMessage.
Returns
Resultant message Aspose::Email::Mapi::MapiMessage.

Implemented in Aspose::Email::Tools::ForwardMessageBuilder.

◆ BuildResponse() [2/2]

virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr<MailMessage> Aspose::Email::Tools::ResponseMessageBuilder::BuildResponse ( System::SharedPtr< MailMessage msg)
pure virtual

Builds the forwarding and replying messages.

Parameters
msgOriginal message MailMessage.
Returns
Resultant message MailMessage.

Implemented in Aspose::Email::Tools::ReplyMessageBuilder, and Aspose::Email::Tools::ForwardMessageBuilder.

◆ get_AdditionMode()

ASPOSE_EMAIL_SHARED_API OriginalMessageAdditionMode Aspose::Email::Tools::ResponseMessageBuilder::get_AdditionMode ( ) const

Gets the format of response message.

◆ get_HtmlEvaluationMessage()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Tools::ResponseMessageBuilder::get_HtmlEvaluationMessage ( )

◆ get_ResponseText()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Tools::ResponseMessageBuilder::get_ResponseText ( ) const

Gets the body of response message.

Can contain html tags or rtf keywords if type of body of original message is HTML or RTF respectively.

◆ get_RtfEvaluationMessage()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Tools::ResponseMessageBuilder::get_RtfEvaluationMessage ( )

◆ get_Sender()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<MailAddress> Aspose::Email::Tools::ResponseMessageBuilder::get_Sender ( ) const

Gets the addres from which the response message will be sent.

◆ get_TextEvaluationMessage()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Tools::ResponseMessageBuilder::get_TextEvaluationMessage ( )

◆ set_AdditionMode()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::set_AdditionMode ( OriginalMessageAdditionMode  value)

Sets the format of response message.

◆ set_ResponseText()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::set_ResponseText ( System::String  value)

Sets the body of response message.

Can contain html tags or rtf keywords if type of body of original message is HTML or RTF respectively.

◆ set_Sender()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::set_Sender ( System::SharedPtr< MailAddress value)

Sets the addres from which the response message will be sent.

◆ SetContent() [1/2]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::SetContent ( System::SharedPtr< Aspose::Email::Mapi::MapiMessage >  src,
System::SharedPtr< Aspose::Email::Mapi::MapiMessage >  dst 
)

Sets the content.

Parameters
srcThe source message.
dstThe destination message.

◆ SetContent() [2/2]

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::SetContent ( System::SharedPtr< MailMessage src,
System::SharedPtr< MailMessage dst 
)

Sets the content.

Parameters
srcThe source message.
dstThe destination message.

◆ SetVentureLicense()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::ResponseMessageBuilder::SetVentureLicense ( System::SharedPtr< System::Object >  ventureLicense)

All Aspose products should implement this method. It is called by a GroupDocs product to indicate whether GroupDocs itself is licensed or not and specify a custom watermark. When GroupDocs is licensed, this document instance should behave as licensed too even if the Aspose product is not licensed.