Save Attachments

You can select this activity to save attachments of an email message to a specified folder.

Note: A new folder is created if the specified folder does not exist. If no folder is specified, the downloads are saved in the project folder. Files in the specified folder with the same name are overwritten.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Input Directory String The full path of the directory where the attachments must be saved.
Email EmailMessage Microsoft.Exchange.WebServices.Data.EmailMessage The Email object for which attach- ments must be saved.
Output Attachments List< String> The list of file attachment paths.
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses