Create Draft Request
Class representing a request to create a draft.
Constructors
Link copied to clipboard
public CreateDraftRequest CreateDraftRequest(@Json(name = "to" ) List<EmailName> to, @Json(name = "bcc" ) List<EmailName> bcc, @Json(name = "cc" ) List<EmailName> cc, @Json(name = "reply_to" ) List<EmailName> replyTo, @Json(name = "attachments" ) List<CreateAttachmentRequest> attachments, @Json(name = "subject" ) String subject, @Json(name = "body" ) String body, @Json(name = "starred" ) Boolean starred, @Json(name = "send_at" ) Integer sendAt, @Json(name = "reply_to_message_id" ) String replyToMessageId, @Json(name = "tracking_options" ) TrackingOptions trackingOptions, @Json(name = "custom_headers" ) List<CustomHeader> customHeaders)
Types
Link copied to clipboard
Builder for CreateDraftRequest.
Properties
Functions
Link copied to clipboard
An array of files to attach to the message.
Link copied to clipboard
A list of custom headers to add to the message.
Link copied to clipboard
An array of name and email pairs that override the sent reply-to headers.
Link copied to clipboard
The ID of the message that you are replying to.
Link copied to clipboard
Whether or not the message has been starred by the user.
Link copied to clipboard
The message subject.
Link copied to clipboard
Options for tracking opens, links, and thread replies.