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 | |
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< MailAddress > | get_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< MailMessage > | BuildResponse (System::SharedPtr< MailMessage > msg)=0 |
Builds the forwarding and replying messages. More... | |
virtual System::SharedPtr< Aspose::Email::Mapi::MapiMessage > | BuildResponse (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 () | |
Provides creation and formatting the forwarding and replying messages.
Aspose::Email::Tools::ResponseMessageBuilder::ResponseMessageBuilder | ( | ) |
|
pure virtual |
Builds the forwarding and replying messages.
msg | Original message Aspose::Email::Mapi::MapiMessage. |
Implemented in Aspose::Email::Tools::ForwardMessageBuilder.
|
pure virtual |
Builds the forwarding and replying messages.
msg | Original message MailMessage. |
Implemented in Aspose::Email::Tools::ReplyMessageBuilder, and Aspose::Email::Tools::ForwardMessageBuilder.
OriginalMessageAdditionMode Aspose::Email::Tools::ResponseMessageBuilder::get_AdditionMode | ( | ) | const |
Gets the format of response message.
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.
System::SharedPtr<MailAddress> Aspose::Email::Tools::ResponseMessageBuilder::get_Sender | ( | ) | const |
Gets the addres from which the response message will be sent.
void Aspose::Email::Tools::ResponseMessageBuilder::set_AdditionMode | ( | OriginalMessageAdditionMode | value | ) |
Sets the format of response message.
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.
void Aspose::Email::Tools::ResponseMessageBuilder::set_Sender | ( | System::SharedPtr< MailAddress > | value | ) |
Sets the addres from which the response message will be sent.
void Aspose::Email::Tools::ResponseMessageBuilder::SetContent | ( | System::SharedPtr< Aspose::Email::Mapi::MapiMessage > | src, |
System::SharedPtr< Aspose::Email::Mapi::MapiMessage > | dst | ||
) |
Sets the content.
src | The source message. |
dst | The destination message. |
void Aspose::Email::Tools::ResponseMessageBuilder::SetContent | ( | System::SharedPtr< MailMessage > | src, |
System::SharedPtr< MailMessage > | dst | ||
) |
Sets the content.
src | The source message. |
dst | The destination message. |