New in package 167 Build 1086
Syntax
Mail.send( options );
Description
Sends an email.
Options
Option | Type | Description |
---|---|---|
from | User or String | Optionally override the "from" email field. |
replyTo | User or String | Optionally override the "reply-to" email field. |
to | Array of users or Strings | Email "to" field. |
cc | Array of users or Strings | Email "cc" field. |
bcc | Array of users or Strings | Email "bcc" field. |
subject | String | Email subject. |
text | String | Email body plain text part. |
html | String or Object | Email body HTML part. |
attachments | Array of Objects | Email attachments. |