Represents an email. Is only considered valid when all required fields are provided and either text or html have a value.

Hierarchy

  • Email

Properties

Sender of the email

to: string | EmailAddress[]

Receivers of the email

cc?: string | EmailAddress[]

Other receivers of the email

bcc?: string | EmailAddress[]

Blind receivers of the email

subject: string

Subject of the email

text?: string

Contents of the email as text

html?: string

Contents of the email as html

Generated using TypeDoc