Aspose::Email::Tools::ReplyMessageBuilder Class Reference

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

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

Public Member Functions

bool get_ReplyAll () const
 Provides automatic adding recipients in replying message. More...
 
void set_ReplyAll (bool value)
 Provides automatic adding recipients in replying message. More...
 
System::SharedPtr< MailMessageBuildResponse (System::SharedPtr< MailMessage > msg) override
 Builds the replying messages. More...
 
System::SharedPtr< Mapi::MapiMessageBuildResponse (System::SharedPtr< Mapi::MapiMessage > msg) override
 Builds the replying messages. More...
 
 ReplyMessageBuilder ()
 
- 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...
 
virtual System::SharedPtr< Aspose::Email::Mapi::MapiMessageBuildResponse (System::SharedPtr< Aspose::Email::Mapi::MapiMessage > msg)=0
 Builds the forwarding and replying messages. 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 replying messages.

Constructor & Destructor Documentation

◆ ReplyMessageBuilder()

Aspose::Email::Tools::ReplyMessageBuilder::ReplyMessageBuilder ( )

Member Function Documentation

◆ BuildResponse() [1/2]

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

Builds the replying messages.

Parameters
msgOriginal message MailMessage.
Returns
Resultant message MailMessage.

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

◆ BuildResponse() [2/2]

System::SharedPtr<Mapi::MapiMessage> Aspose::Email::Tools::ReplyMessageBuilder::BuildResponse ( System::SharedPtr< Mapi::MapiMessage msg)
override

Builds the replying messages.

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

◆ get_ReplyAll()

bool Aspose::Email::Tools::ReplyMessageBuilder::get_ReplyAll ( ) const

Provides automatic adding recipients in replying message.

◆ set_ReplyAll()

void Aspose::Email::Tools::ReplyMessageBuilder::set_ReplyAll ( bool  value)

Provides automatic adding recipients in replying message.