Send Email Activity
The Send Email activity enables the automation of sending emails through the logged-in Outlook application. It facilitates the composition and dispatch of emails, allowing for the configuration of recipients, subject, message body, and attachments.
| Field | Description | Requirement |
|---|---|---|
| To | Specifies the primary recipient's email address. Multiple addresses can be separated by , or ;. | Optional |
| Cc | Specifies the carbon copy recipient's email address. Multiple addresses can be separated by , or ;. | Optional |
| Bcc | Specifies the blind carbon copy recipient's email address. Multiple addresses can be separated by , or ;. | Optional |
| Subject | Defines the subject line of the email. | Optional |
| Message | Contains the main content of the email. | Optional |
| Attachment | Specifies the directory path(s) of file(s) to be attached to the email. | Optional |
| IsHtml? | Determines if the email content should be sent in HTML format. | Optional |
| Send delivery receipt | Requests a delivery receipt to confirm the email's arrival in the recipient’s mailbox. | Optional |
| Send read receipt | Requests a read receipt to confirm that the message was opened by the recipient. | Optional |
| High Importance | Marks the email as high priority to indicate its urgency to the recipient. | Optional |
| Email Address | Specifies the sender's email address if multiple accounts are configured in Outlook. | Optional |
| Behalf of name | Sets the display name shown to the receiver. | Optional |
Action Types & Examples
To
- Format:
string - Example Result:
"albert.baker@gmail.com"
Cc
- Format:
string - Example Result:
"brandenenastanford@gmail.com"
Bcc
- Format:
string - Example Result:
"lilymagdalendawson@gmail.com"
Subject
- Format:
string - Example Result:
"About the Financial Statement"
Message
- Format:
string - Example Result:
"Hello, This mail has been sent for testing purposes."
Attachment
- Format:
string - Example Result:
"C:Tempattachment.xlsx,C:Masraffile.xlsx"
IsHtml?
- Format:
boolean - Example Result:
true
Send delivery receipt
- Format:
boolean - Example Result:
false
Send read receipt
- Format:
boolean - Example Result:
true
High Importance
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - To: emailRecipientVariable - Subject: "Automated Report - " + DateTime.Now.ToString("yyyy-MM-dd") - IsHtml?: true
Execution Parameters - To: "albert.baker@gmail.com" - Cc: "brandenenastanford@gmail.com" - Bcc: "lilymagdalendawson@gmail.com" - Subject: "About the Financial Statement" - Message: "Hello, This mail has been sent for testing purposes." - Attachment: "C:Tempattachment.xlsx,C:Masraffile.xlsx"
HTML Editor - To activate the HTML Editor, you must set the Is Html checkbox to True.
Technical Notes
Attachment functionality may depend on your specific Outlook settings. To ensure attachments are sent correctly, verify your configuration under Outlook Options > Mail > Send messages.