Aspose::Email::Tools::ForwardMessageBuilder Class Reference

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

Inherits Aspose::Email::Tools::ResponseMessageBuilder.

Public Member Functions

System::SharedPtr< MailMessageBuildResponse (System::SharedPtr< MailMessage > msg) override
 Builds the forwarding messages. More...
 
System::SharedPtr< Aspose::Email::Mapi::MapiMessageBuildResponse (System::SharedPtr< Aspose::Email::Mapi::MapiMessage > msg) override
 Builds the forwarding messages. More...
 
- Public Member Functions inherited from Aspose::Email::Tools::ResponseMessageBuilder
OriginalMessageAdditionMode get_AdditionMode () const
 Gets the format of response message. More...
 
void set_AdditionMode (OriginalMessageAdditionMode value)
 Sets the format of response message. More...
 
System::SharedPtr< MailAddressget_Sender () const
 Gets the addres from which the response message will be sent. More...
 
void set_Sender (System::SharedPtr< MailAddress > value)
 Sets the addres from which the response message will be sent. More...
 
System::String get_ResponseText () const
 Gets the body of response message. More...
 
void set_ResponseText (System::String value)
 Sets the body of response message. More...
 
void SetContent (System::SharedPtr< MailMessage > src, System::SharedPtr< MailMessage > dst)
 Sets the content. More...
 
void SetContent (System::SharedPtr< Aspose::Email::Mapi::MapiMessage > src, System::SharedPtr< Aspose::Email::Mapi::MapiMessage > dst)
 Sets the content. More...
 
 ResponseMessageBuilder ()
 

Detailed Description

Provides creation and formatting the forwarding messages.

Member Function Documentation

◆ BuildResponse() [1/2]

System::SharedPtr<Aspose::Email::Mapi::MapiMessage> Aspose::Email::Tools::ForwardMessageBuilder::BuildResponse ( System::SharedPtr< Aspose::Email::Mapi::MapiMessage msg)
overridevirtual

Builds the forwarding messages.

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

Implements Aspose::Email::Tools::ResponseMessageBuilder.

◆ BuildResponse() [2/2]

System::SharedPtr<MailMessage> Aspose::Email::Tools::ForwardMessageBuilder::BuildResponse ( System::SharedPtr< MailMessage msg)
overridevirtual

Builds the forwarding messages.

Parameters
msgOriginal message MailMessage.
Returns
Resultant message MailMessage.

Implements Aspose::Email::Tools::ResponseMessageBuilder.