Interface: MailOptions
Email message definition. Compatible with nodemailer Mail.Options.
Properties
from
• Optional
Readonly
from: string
| MailAddress
The e-mail address of the sender. All e-mail addresses can be plain 'sender@server.com' or formatted 'Sender Name sender@server.com'
Defined in
packages/core/src/client.ts:432
sender
• Optional
Readonly
sender: string
| MailAddress
An e-mail address that will appear on the Sender: field
Defined in
packages/core/src/client.ts:434
to
• Optional
Readonly
to: MailDestination
Comma separated list or an array of recipients e-mail addresses that will appear on the To: field
Defined in
packages/core/src/client.ts:436
cc
• Optional
Readonly
cc: MailDestination
Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field
Defined in
packages/core/src/client.ts:438
bcc
• Optional
Readonly
bcc: MailDestination
Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field
Defined in
packages/core/src/client.ts:440
replyTo
• Optional
Readonly
replyTo: string
| MailAddress
An e-mail address that will appear on the Reply-To: field
Defined in
packages/core/src/client.ts:442
subject
• Optional
Readonly
subject: string
The subject of the e-mail
Defined in
packages/core/src/client.ts:444
text
• Optional
Readonly
text: string
The plaintext version of the message
Defined in
packages/core/src/client.ts:446
html
• Optional
Readonly
html: string
The HTML version of the message
Defined in
packages/core/src/client.ts:448
attachments
• Optional
Readonly
attachments: MailAttachment
[]
An array of attachment objects
Defined in
packages/core/src/client.ts:450