core.mailoptions
Home > @medplum/core > MailOptions
MailOptions interface
Email message definition. Compatible with nodemailer Mail.Options. Other nodemailer message options are ignored by the Medplum server.
Signature:
export interface MailOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| (Optional) An array of attachment objects | ||
| (Optional) Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field | ||
| (Optional) Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field | ||
| string | MailAddress | (Optional) The e-mail address of the sender. All e-mail addresses can be plain | |
| string | (Optional) The HTML version of the message | |
| string | MailIcalEvent | (Optional) iCalendar event to use as an alternative, for example an appointment invitation | |
| string | MailAddress | (Optional) An e-mail address that will appear on the Reply-To: field | |
| string | MailAddress | (Optional) Ignored by the Medplum server. The Sender: field is set to the from address. | |
| string | (Optional) The subject of the e-mail | |
| string | (Optional) The plaintext version of the message | |
| (Optional) Comma separated list or an array of recipients e-mail addresses that will appear on the To: field |