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
getReplyAll() Provides automatic adding recipients in replying message.
setReplyAll(boolean value) Provides automatic adding recipients in replying message.
buildResponse(MailMessage msg) Builds the replying messages.
buildResponse(MapiMessage msg) Builds the replying messages.

ReplyMessageBuilder()

public ReplyMessageBuilder()

getReplyAll()

public final boolean getReplyAll()

Provides automatic adding recipients in replying message.

Returns: boolean

setReplyAll(boolean value)

public final void setReplyAll(boolean value)

Provides automatic adding recipients in replying message.

Parameters:

Parameter Type Description
value boolean

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.