public abstract class ResponseMessageBuilder extends Object
Provides creation and formatting the forwarding and replying messages.
Constructor and Description |
---|
ResponseMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract MailMessage |
buildResponse(MailMessage msg)
Builds the forwarding and replying messages.
|
abstract MapiMessage |
buildResponse(MapiMessage msg)
Builds the forwarding and replying messages.
|
int |
getAdditionMode()
Gets or sets the format of response message.
|
String |
getResponseText()
Gets or sets the body of response message.
|
MailAddress |
getSender()
Gets or sets the addres from which the response message will be sent.
|
void |
setAdditionMode(int value)
Gets or sets the format of response message.
|
void |
setResponseText(String value)
Gets or sets the body of response message.
|
void |
setSender(MailAddress value)
Gets or sets the addres from which the response message will be sent.
|
public int getAdditionMode()
Gets or sets the format of response message.
public void setAdditionMode(int value)
Gets or sets the format of response message.
public MailAddress getSender()
Gets or sets the addres from which the response message will be sent.
public void setSender(MailAddress value)
Gets or sets the addres from which the response message will be sent.
public String getResponseText()
Gets or sets the body of response message.
public void setResponseText(String value)
Gets or sets the body of response message.
public abstract MailMessage buildResponse(MailMessage msg)
Builds the forwarding and replying messages.
msg
- Original message Aspose.Email.Mail.MailMessage
.Aspose.Email.Mail.MailMessage
.public abstract MapiMessage buildResponse(MapiMessage msg)
Builds the forwarding and replying messages.
msg
- Original message Aspose.Email.Outlook.MapiMessage
.Aspose.Email.Outlook.MapiMessage
.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.