Forward Activity
The Forward activity enables the redirection of existing emails to specified recipients through a configured mail server. This activity allows for the management of email datasets while providing options to modify the subject, message body, and attachments during the forwarding process.
| Field | Description | Requirement |
|---|---|---|
| Connection name | The reference name of the established mail connection selected from the dropdown menu. | Required |
| Dataset name | The reference name of the active dataset containing the target emails. | Required |
| Mail no | The index of the email to forward. If set to -1, the action applies to all emails in the dataset, sorted by oldest first. | Required |
| From | The email address designated as the sender. | Optional |
| To | The email address(es) of the primary recipient(s). Multiple addresses should be separated by commas or semicolons. | Required |
| Subject | The title or subject line to be applied to the forwarded email. | Optional |
| Message | The body content of the email. This can include HTML code if the Is HTML option is enabled. | Optional |
| Attachment | The file directory paths for attachments. Multiple file paths must be separated by commas. | Optional |
| Cc | The email addresses for recipients to be copied on the message. | Optional |
| Bcc | The email addresses for recipients to be blind copied on the message. | Optional |
| Is HTML? | A toggle that determines if the message content is processed and sent in HTML format. | Optional |
Action Types & Examples
Connection name
- Format: string
- Example Result: "mailConnection"
Dataset name
- Format: string
- Example Result: "searchDS"
Mail no
- Format: digit
- Example Result: "0"
From
- Format: string
- Example Result: "albert.baker@gmail.com"
To
- Format: string
- Example Result: "john.doe@outlook.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:\Temp\attachment.xlsx,C:\Masraf\file.xlsx"
Cc
- Format: string
- Example Result: "brandenenastanford@gmail.com"
Bcc
- Format: string
- Example Result: "lilymagdalendawson@gmail.com"
Is HTML?
- Format: boolean
- Example Result: "true"
Implementation Examples
Field Setup - Connection name: mailConnection - Dataset name: searchDS - Mail no: 1
Execution Parameters - To: john.doe@outlook.com;jane.doe@outlook.com - Subject: Forwarded: Q4 Financial Statement - Is HTML?: true - Attachment: C:\Reports\Statement.pdf
Technical Notes
When the "Mail no" parameter is set to -1, the activity will iterate through and forward every email within the specified dataset starting from the oldest entry. If "Is HTML?" is enabled, the "Message" field accepts standard HTML tags for rich text formatting. Ensure that delimiters for multiple email addresses (commas or semicolons) align with the requirements of the specific mail service provider being utilized.