Send Mail
This Automation Manager object sends an email message.
Privileges
Normal
Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| SMTP Host | String | Yes | The name of the SMTP server that will send the message. |
| User Name | String | Yes | User name for the SMTP server. |
| Password | String | Yes | The password associated with the user name. |
| From | String | Yes | The email address of the sender. |
| To | String | Yes | The email address of the recipient. Only one address may be entered. Where more than one recipient is required, create a Distribution List for those recipients and enter the Distribution List email address here. |
| Subject | String | Yes | The subject of the email message. |
| Body | String | Yes | The body or message to be sent. |
Output Parameters
| Name | Type | Description |
|---|---|---|
| Result | Number | Returns a default value of zero. |
Example Input Parameters
| Name | Type | Required | Example |
|---|---|---|---|
| SMTP Host | String | Yes | Exchange1.ABC.com |
| Port | Number | Yes | 25 |
| Enable SSL | Boolean | No | Optionally use SSL when connecting to SMTP host |
| User Name | String | Yes | ABC\jsmith (format of Domain\username) |
| Password | String | Yes | Password!@# |
| From | String | Yes | jsmith@ABC.com |
| To | String | Yes | jsmith@ABC.com |
| Subject | String | Yes | Log File |
| Body | String | Yes | Log File Attached |
| Attachment Path | String | No | C:\app_name\log.txt |
