ForwardMessageBuilder

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

public class ForwardMessageBuilder extends ResponseMessageBuilder

Provides creation and formatting the forwarding messages.

Constructors

ConstructorDescription
ForwardMessageBuilder()

Methods

MethodDescription
buildResponse(MailMessage msg)Builds the forwarding messages.
buildResponse(MapiMessage msg)Builds the forwarding messages.
equals(Object arg0)
getAdditionMode()Gets or sets the format of response message.
getClass()
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.
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)

ForwardMessageBuilder()

public ForwardMessageBuilder()

buildResponse(MailMessage msg)

public MailMessage buildResponse(MailMessage msg)

Builds the forwarding messages.

Parameters:

ParameterTypeDescription
msgMailMessageOriginal message MailMessage.

Returns: MailMessage - Resultant message MailMessage.

buildResponse(MapiMessage msg)

public MapiMessage buildResponse(MapiMessage msg)

Builds the forwarding 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

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

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