Command Reference
Description
Sends an email.
static: This command can be run outside of an object context.
Usage
ctl -m netutil -c email [-cc <>] [-failonerror <true>] [-files <>] [-from <>] -host <> [-message <>] [-messagefile <>] [-mimetype <text/html>] [-password <>] -port <> [-replyto <>] [-ssl <false>] -subject <> -to <> [-user <>]
Options
| Option | Description | Type | Default |
|---|---|---|---|
| cc |
Recipients to carbon copy
Comma-separated list of recipients. |
string | |
| failonerror |
Fail if email cannot be delivered.
Causes command to exit with an error. Results in additional verbose messages, too. |
string | true / ${framework.email.failonerror} |
| files |
Files to attach to message
Files to send as attachments to the email. Separate multiple file names using a comma or space. |
string | |
| from | The sender email address | string | ${framework.email.from} |
| host | The mail server. | string | ${framework.email.mailhost} |
| message | The message content | string | |
| messagefile | The message file | string | |
| mimetype |
The content type of the message
The default is text/html but could also be text/plain. |
string | text/html |
| password | Password for SMTP auth | string | ${framework.email.password} |
| port | The port number to connect to. | string | ${framework.email.mailport} |
| replyto | The message replyto address | string | ${framework.email.replyto} |
| ssl | Connect using ssl. | string | false / ${framework.email.ssl} |
| subject | Email subject line | string | |
| to |
The message recipeint
Comma-separated list of recipients. |
string | |
| user | User name for SMTP auth | string | ${framework.email.user} |


