SendMail
SendMail is an activity that sends an email by way of an SMTP server.
smtp.gmail.com server, use TLS on port 587 or SSL on port 465.
Settings
The Settings tab has the following fields.
| Field | Description |
|---|---|
| Server | The host name or IP address for the mail server. |
| Port | The port used to connect to the server. |
| Connection Security | The type of connection to be used to communicate with the mail server. Select TLS or SSL depending upon the security configuration of the mail server. In case no security is enabled on the mail server, select NONE. |
| Username | The username to use when authenticating to the mail server. |
| Password | The password to use when authenticating to the mail server. |
Input
This tab displays the fields that are used as input for the activity.
| Input Item | Description |
|---|---|
| message_content_type | The type of message content. Valid types are "text/plain" or "text/html". |
| sender | The email address of the sender. |
| recipients | The recipient list for the email.
You can send the mail to multiple recipients. Provide a list of recipients in a single string by using a comma as the delimiter. |
| cc_recipients | The CC recipient list for the email.
You can send the mail to multiple recipients. Provide a list of recipients in a single string by using a comma as the delimiter. |
| bcc_recipients | The BCC recipient list for the email.
You can send the mail to multiple recipients. Provide a list of recipients in a single string by using a comma as the delimiter. |
| reply_to |
Email address to which the reply message is to be sent. |
| subject | The subject of the email. |
| message | The content of the email message. |
| attachments |
File attachments to be sent along with the email message. To map the child elements, add
To send multiple attachments, use the Loop feature. |
Loop
Refer to the section on "Using the Loop Feature in an Activity".