Email task
On this page
Use an Email task when the workflow must notify people or send a generated message.
Configuration
The Text Body and HTML Body tabs set the two body formats. At least one is required; include a text body when recipients may not render HTML.
When it runs, SimWorkflow sends the configured message. Check recipients, body content, attachment availability, and the need for a text alternative.
|
Field |
Required |
Default Value |
Description |
|---|---|---|---|
|
|
Yes |
N/A |
Sets the sender name shown on the email. |
|
|
Yes |
N/A |
Adds one or more primary recipient addresses. |
|
|
No |
N/A |
Adds one or more visible copy recipient addresses. |
|
|
No |
N/A |
Adds one or more hidden copy recipient addresses. |
|
|
No |
N/A |
Adds one or more addresses that receive replies. |
|
|
Yes |
N/A |
Sets the email subject line. |
|
|
At least one body format |
N/A |
Supplies the plain-text message content. Provide it when recipients may not render HTML. |
|
|
At least one body format |
N/A |
Supplies the HTML message content. Use it for formatted messages. |
|
|
No |
N/A |
Adds attachment identifiers to include with the sent email. Confirm every referenced attachment is available on this path. |
Output
email contains the resolved message: fromName, toAddresses, ccAddresses, bccAddresses, replyToAddresses, subject, text, html and attachment IDs. Optional recipient/attachment lists resolve to empty arrays; unused text/HTML can be null.
Example task output:
{
"email": {
"fromName": "Request team",
"toAddresses": [
"recipient@example.com"
],
"ccAddresses": [],
"bccAddresses": [],
"replyToAddresses": [],
"subject": "Request REQ-104: Approved",
"text": "Request REQ-104 was Approved.",
"html": null,
"attachments": []
}
}
When something goes wrong: Check sender, recipients, subject, body content, attachments and provider availability.
Correct invalid recipient addresses or missing content, restore attachment access, or wait for/increase the applicable email allowance.
Avoid treating a completed Email task as a delivery receipt.