Download Attachment
AutomatR.ExchangeServer.Activities.DownloadAttachment
The "Download Attachment" activity in AutomatR is part of the Exchange Server activities package, providing the capability to retrieve email attachments and save them to a designated local folder. This activity enhances automation workflows by enabling the extraction and storage of attachments from email messages.
Properties
Name | Description |
---|---|
Input | |
Download To | Enter the complete path of the local drive where the email attachments should be downloaded. String variable. |
Mail Message | Enter the mail message containing the attachments to be downloaded. Use the MailMessage variable. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. |
Optional | |
Delay | Enter the wait time in seconds (e.g., 5) to start the activity. |
How to use:
- Drag and drop the "Download Attachment" activity onto the workflow.
- Configure the properties by specifying the mail message containing attachments and the local path to download them.
- Optionally, customize the display name and set a delay if necessary.
- Execute the workflow to retrieve and save attachments from the specified email message.
Example: Consider an example where the "Download Attachment" activity is used to download attachments from a specific email message:
Download Attachment:
Display Name: "Download Invoice Attachments"
Mail Message: invoiceMailMessage
Download To: "C:\Attachments\Invoices\"
In this example, the activity downloads attachments from the invoiceMailMessage
and saves them to the "C:\Attachments\Invoices\" folder on the local drive.