Save attachments Version 10 (Net)

Группа действий: Outlook


Description

The action saves attachments from e-mails that correspond to the identifier assigned during selection to the specified folder (e-mails from Outlook are selected using the "Select message" action of this group). 

Action icon

Parameters

Input parameters

  1. Message IDs - collection with email IDs. If there is more than one item in the collection, the action will be applied to all.

  2. Directory - the path to the folder on your computer where attachments will be saved. A separate folder will be created in this folder for each email with a name from its subject and date. If there were emails without attachments, a folder will be created for them, which will remain empty to keep the dimension of the collection, if necessary.

  3. Save images - if the value is «true», then the images from the message body will be saved, otherwise they will not be saved.

Output parameters

Result - collection of paths to created folders

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Message IDsCollection with email IDs. If there is more than one item in the collection, the action will be applied to all.Robin.Collection
Yes
DirectoryThe path to the folder on your computer where attachments will be saved. A separate folder will be created in this folder for each email with a name from its subject and date. If there were emails without attachments, a folder will be created for them, which will remain empty to keep the dimension of the collection, if necessary.Robin.FolderPathC:\doc\imgYes
Save imagesIf the value is «true», then the images from the message body will be saved, otherwise they will not be saved.Robin.BooleantrueNo
Results
ResultCollection of paths to created foldersRobin.Collection

Example of use

Task

Save attachments from Outlook e-mails to the desired directory. 

Solution


Implementation

  1. Assemble a robot containing the following actions:


  2. Fill in the parameters of the "End Process" action (if Outlook is already running, the second copy will no longer open).


  3. Fill in the parameters of the "Run the process" action.

  4. Fill in the parameters of the "Select messages" action.


       5. Fill in the "Save attachments" action parameter



Result

The program robot completed successfully.

The attachments from the selected e-mail are saved to the called directory.