Interface SendEmailMessageInput

Input object containing information required to send an email message.

interface SendEmailMessageInput {
    attachments: EmailAttachment[];
    body: string;
    emailMessageHeader: InternetMessageFormatHeader;
    forwardingMessageId?: string;
    inlineAttachments: EmailAttachment[];
    replyingMessageId?: string;
    senderEmailAddressId: string;
}

Properties

attachments: EmailAttachment[]

List of attached files to be sent with the message. Default is an empty list.

body: string

The text body of the email message.

emailMessageHeader: InternetMessageFormatHeader

The email message headers.

forwardingMessageId?: string

Optional identifier of the message being forwarded.

inlineAttachments: EmailAttachment[]

List of inline attachments to be sent with the message. Default is an empty list.

replyingMessageId?: string

Optional identifier of the message being replied to.

senderEmailAddressId: string

Identifier of the email address being used to send the email. The identifier must match the identifier of the address of the from field in the RFC 6854 data.