Builder

public final class Builder

Builder for CreateDraftRequest.

Constructors

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 CreateDraftRequest 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 reply-to recipients.

Link copied to clipboard
public final CreateDraftRequest.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 CreateDraftRequest.Builder subject(String subject)

Sets the message subject.

Link copied to clipboard

Sets the recipients.

Link copied to clipboard

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