Move Mail Activity
The Move Mail activity enables the transfer of email messages to a designated folder on the mail server. It utilizes established mail connections and datasets to identify and relocate specific messages or entire message sets.
| 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 selected from the dropdown menu. | Required |
| Folder name | The name of the destination folder where the emails will be moved. | Required |
| Mail no | The index of the specific email to move. If left empty or set to -1, the action applies to all emails in the dataset. | Optional |
Action Types & Examples
Move Email
- Format: string, integer
- Example Result: "Success"
Implementation Examples
Field Setup - Connection name: "mailConnection" - Dataset name: "searchDS" - Folder name: "Moved"
Execution Parameters - Mail no: "0"
Technical Notes
If the Mail no field is left empty or set to -1, the activity will apply the move action to all emails within the specified dataset. During bulk operations, emails are processed in chronological order, starting with the oldest record first.