ReplyMessageBuilder

Inheritance: java.lang.Object, com.aspose.email.ResponseMessageBuilder

public class ReplyMessageBuilder extends ResponseMessageBuilder

Provides creation and formatting the replying messages.

Constructors

ConstructorDescription
ReplyMessageBuilder()

Methods

MethodDescription
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:

ParameterTypeDescription
msgMailMessageOriginal message MailMessage.

Returns: MailMessage - Resultant message MailMessage.

buildResponse(MapiMessage msg)

public MapiMessage buildResponse(MapiMessage msg)

Builds the replying messages.

Parameters:

ParameterTypeDescription
msgMapiMessageOriginal message MapiMessage.

Returns: MapiMessage - Resultant message MapiMessage.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueint

setReplyAll(boolean value)

public final void setReplyAll(boolean value)

Provides automatic adding recipients in replying message.

Parameters:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valueMailAddress

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int