EmailParamsinterface
This composite type describes the parameters to be populated on creating a new email.
Properties (8)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| attachments⚓︎ | string[] | AttachmentParams[] | x | x | An array of the full paths to existing files to be attached OR an array of objects with the name and data of each attachment to be dynamically created and attached. |
| bcc⚓︎ | string | string[] | x | x | The blind co-recipient(s) of the email. |
| body⚓︎ | string | x | x | The body text of the email, formatted as a plain string. |
| bodyHtml⚓︎ | string | x | x | The body of the email, formatted as an HTML string. |
| cc⚓︎ | string | string[] | x | x | The co-recipient(s) of the email. |
| cookie⚓︎ | string | x | x | The cookie of the email. |
| subject⚓︎ | string | x | x | The subject field of the email. |
| to⚓︎ | string | string[] | x | x | The primary recipient(s) of the email. |