Builder

public final class Builder

Builder for UpdateDraftRequest.

Constructors

Functions

Link copied to clipboard

Set an array of files to attach to the draft.

Link copied to clipboard

Set an array of bcc recipients.

Link copied to clipboard

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

Link copied to clipboard
public final UpdateDraftRequest build()
Link copied to clipboard

Set an array of cc recipients.

Link copied to clipboard

Set an array of name and email pairs that override the sent reply-to headers.

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

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

Link copied to clipboard

Set the unix timestamp to send the message at.

Link copied to clipboard

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

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

Set the message subject.

Link copied to clipboard

Set an array of message recipients.

Link copied to clipboard

Set options for tracking opens, links, and thread replies.

Link copied to clipboard

Set whether or not the message has been read by the user.