Interface EmailData

The data to send an email.

interface EmailData {
    attachments?: EmailAttachment[];
    bccAddresses?: string[];
    ccAddresses?: string[];
    html?: string;
    replyToAddresses?: string[];
    subject: string;
    text?: string;
    toAddresses: string[];
}

Hierarchy (view full)

Properties

attachments?: EmailAttachment[]
bccAddresses?: string[]

Array of BCC email addresses.

ccAddresses?: string[]

Array of CC email addresses.

html?: string

HTML content of the email.

replyToAddresses?: string[]

Array of Reply-To email addresses.

subject: string

Subject of the email.

text?: string

Text content of the email

toAddresses: string[]

Array of TO email addresses.