## MailOptions interface

Email message definition. Compatible with nodemailer Mail.Options.

**Signature:**

```typescript
export interface MailOptions
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [attachments?](/content/docs/sdk/core.mailoptions.attachments) | `readonly` | [MailAttachment](/content/docs/sdk/core.mailoptions.attachments) | _(Optional)_ An array of attachment objects |
| [bcc?](/content/docs/sdk/core.mailoptions.bcc) | `readonly` | [MailDestination](/content/docs/sdk/core.mailoptions.bcc) | _(Optional)_ Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field |
| [cc?](/content/docs/sdk/core.mailoptions.cc) | `readonly` | [MailDestination](/content/docs/sdk/core.mailoptions.cc) | _(Optional)_ Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field |
| [from?](/content/docs/sdk/core.mailoptions.from) | `readonly` | string \| [MailAddress](/content/docs/sdk/core.mailoptions.from) | _(Optional)_ The e-mail address of the sender. All e-mail addresses can be plain `sender@server.com` or formatted `Sender Name <sender@server.com>` |
| [html?](/content/docs/sdk/core.mailoptions.html) | `readonly` | string | _(Optional)_ The HTML version of the message |
| [replyTo?](/content/docs/sdk/core.mailoptions.replyto) | `readonly` | string \| [MailAddress](/content/docs/sdk/core.mailoptions.replyto) | _(Optional)_ An e-mail address that will appear on the Reply-To: field |
| [sender?](/content/docs/sdk/core.mailoptions.sender) | `readonly` | string \| [MailAddress](/content/docs/sdk/core.mailoptions.sender) | _(Optional)_ An e-mail address that will appear on the Sender: field |
| [subject?](/content/docs/sdk/core.mailoptions.subject) | `readonly` | string | _(Optional)_ The subject of the e-mail |
| [text?](/content/docs/sdk/core.mailoptions.text) | `readonly` | string | _(Optional)_ The plaintext version of the message |
| [to?](/content/docs/sdk/core.mailoptions.to) | `readonly` | [MailDestination](/content/docs/sdk/core.mailoptions.to) | _(Optional)_ Comma separated list or an array of recipients e-mail addresses that will appear on the To: field |

- [MailOptions interface](/content/docs/sdk/core.mailoptions#mailoptions-interface/index.html)  
- [Properties](/content/docs/sdk/core.mailoptions#properties/index.html)
