Send Message Request
Class representing a request to send a message.
Constructors
Link copied to clipboard
public SendMessageRequest SendMessageRequest(List<EmailName> to, List<EmailName> bcc, List<EmailName> cc, List<EmailName> replyTo, List<CreateAttachmentRequest> attachments, String snippet, String subject, String threadId, String body, Boolean starred, Boolean unread, Integer sendAt, String replyToMessageId, TrackingOptions trackingOptions, Boolean useDraft)
Types
Link copied to clipboard
Builder for SendMessageRequest.
Properties
Functions
Link copied to clipboard
An array of files to attach 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
A short snippet of the message body. This is the first 100 characters of the message body, with any HTML tags removed.
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
A reference to the parent thread object. If this is a new draft, the thread will be empty.
Link copied to clipboard
Options for tracking opens, links, and thread replies.
Link copied to clipboard
Whether or not to use draft support. This is primarily used when dealing with large attachments.