Send email
The Send email message action provides additional features to the Send email (simple) message action when sending an email from a Flow.
This message action allows the Email connector to send an email from a Flow.
You can configure the following values for the email:
-
An object contact value containing the email address to send the email from.
-
A list contact value containing multiple email addresses to send the email to.
-
A list contact value containing multiple email addresses to carbon copy (CC) the email to.
-
A list contact value containing multiple email addresses to blind carbon copy (BCC) the email to.
-
The body of the email, using standard HTML formatting in a content value.
-
The body of the email, using text in a string value, as an alternative for email applications that do not render HTML content.
-
A list $File value containing a list of file attachments that have been previously uploaded to the Email connector.
Input values
This message action requires configuration of the following Input values:
| Name | Type | Required or optional? | Description |
|---|---|---|---|
| HTML Body | Content | Optional | The HTML formatted body content of the email. The content of this value is inserted into the body of the generated email. |
| Attachments | List<File> | Optional | A list File value containing a list of file attachments that have been previously uploaded to the Email connector. |
| To | List<Contact> | Required | The list of contact objects containing the email addresses that the email should be sent to. These values are inserted into the To field of the generated email. The object Email property must be populated with a valid email address for any contact objects in the list that the email should be sent to. |
| To (BCC) | List<Contact> | Optional | The list of contact objects containing the email addresses that a blind carbon copy of the email should also be sent to. These values are inserted into the BCC field of the generated email. The object Email property must be populated with a valid email address for any contact objects in the list that the email should be blind carbon copied to. |
| To (CC) | List<Contact> | Optional | The list of contact objects containing the email addresses that a carbon copy of the email should also be sent to. These values are inserted into the CC field of the generated email. The object Email property must be populated with a valid email address for any contact objects in the list that the email should be carbon copied to. |
| From | Object<Contact> | Required | The contact object containing the email address that the email should be sent from. This value is inserted into the From field of the generated email. The object Email property must be populated with the email address Username configuration value used to send the email. |
| Body | String | Optional | A text version of the email body, provided as an alternative for email applications that do not render HTML content. |