Builder

public final class Builder

Builder for SendMessageRequest.

Functions

Link copied to clipboard

Sets the files to attach to the message.

Link copied to clipboard

Sets the bcc recipients.

Link copied to clipboard

Sets the full HTML message body. Messages with only plain-text representations are up-converted to HTML.

Link copied to clipboard
public final SendMessageRequest build()

Builds a SendMessageRequest instance.

Link copied to clipboard

Sets the cc recipients.

Link copied to clipboard

Sets the custom headers to add to the message.

Link copied to clipboard

Sets the from sender.

Link copied to clipboard

Sets the reply-to recipients.

Link copied to clipboard
public final SendMessageRequest.Builder replyToMessageId(String replyToMessageId)

Sets the ID of the message that you are replying to.

Link copied to clipboard

Sets the unix timestamp to send the message at.

Link copied to clipboard

Sets whether or not the message has been starred by the user.

Link copied to clipboard
public final SendMessageRequest.Builder subject(String subject)

Sets the message subject.

Link copied to clipboard

Sets the options for tracking opens, links, and thread replies.

Link copied to clipboard

Sets whether or not to use draft support. This is primarily used when dealing with large attachments.