ReplyMessageBuilder
Inheritance: java.lang.Object, com.aspose.email.ResponseMessageBuilder
public class ReplyMessageBuilder extends ResponseMessageBuilder
Provides creation and formatting the replying messages.
Constructors
Constructor | Description |
---|---|
ReplyMessageBuilder() |
Methods
Method | Description |
---|---|
buildResponse(MailMessage msg) | Builds the replying messages. |
buildResponse(MapiMessage msg) | Builds the replying messages. |
equals(Object arg0) | |
getAdditionMode() | Gets or sets the format of response message. |
getClass() | |
getReplyAll() | Provides automatic adding recipients in replying message. |
getResponseText() | Gets or sets the body of response message. |
getSender() | Gets or sets the addres from which the response message will be sent. |
hashCode() | |
notify() | |
notifyAll() | |
setAdditionMode(int value) | Gets or sets the format of response message. |
setReplyAll(boolean value) | Provides automatic adding recipients in replying message. |
setResponseText(String value) | Gets or sets the body of response message. |
setSender(MailAddress value) | Gets or sets the addres from which the response message will be sent. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ReplyMessageBuilder()
public ReplyMessageBuilder()
buildResponse(MailMessage msg)
public MailMessage buildResponse(MailMessage msg)
Builds the replying messages.
Parameters:
Parameter | Type | Description |
---|---|---|
msg | MailMessage | Original message MailMessage. |
Returns: MailMessage - Resultant message MailMessage.
buildResponse(MapiMessage msg)
public MapiMessage buildResponse(MapiMessage msg)
Builds the replying messages.
Parameters:
Parameter | Type | Description |
---|---|---|
msg | MapiMessage | Original message MapiMessage. |
Returns: MapiMessage - Resultant message MapiMessage.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAdditionMode()
public final int getAdditionMode()
Gets or sets the format of response message.
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getReplyAll()
public final boolean getReplyAll()
Provides automatic adding recipients in replying message.
Returns: boolean
getResponseText()
public final String getResponseText()
Gets or 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.
Returns: java.lang.String
getSender()
public final MailAddress getSender()
Gets or sets the addres from which the response message will be sent.
Returns: MailAddress
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAdditionMode(int value)
public final void setAdditionMode(int value)
Gets or sets the format of response message.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setReplyAll(boolean value)
public final void setReplyAll(boolean value)
Provides automatic adding recipients in replying message.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setResponseText(String value)
public final void setResponseText(String value)
Gets or 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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setSender(MailAddress value)
public final void setSender(MailAddress value)
Gets or sets the addres from which the response message will be sent.
Parameters:
Parameter | Type | Description |
---|---|---|
value | MailAddress |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |