To send an email from a simple mail transfer protocol (SMTP) server as part of a chain, add a step that uses an Email connector's Send email command. While sending an email is a fairly generic task, you can add context from earlier commands of your chain to enable enhanced automation.
To enable this command, an IT admin first creates an Email connector.
Send email
To send an email via an SMTP server, use a Send email command.
Properties
Input | Detail |
---|---|
From | Enter the sender's email address. |
Subject | Enter the subject line of the message. |
To | Enter the recipients' email addresses. If multiple recipients, separate their addresses with a comma. |
CC | Enter the carbon copy (CC) recipients' email addresses. If multiple recipients, separate their addresses with a comma. |
BCC | Enter the blind carbon copy (BCC) recipients' email addresses. If multiple recipients, separate their addresses with a comma. |
Message | For simple one-line messages, enter the body of the email. For longer messages, enter Message file instead. |
Message file | For multi-line messages, enter the file with the body of the email. For one-line messages, enter Message instead. |
Attachments | To attach files to the email, enter a list of the attachments. If multiple attachments, separate each with a comma |
Outputs
None
Exit codes
Code | Type | Detail |
---|---|---|
0 | Success | Success |
1 | Error | Bad arguments |
2 | Error | Failed to send the email |