Save attachments Version 10 (Net)
Action group: Outlook
Description
The action saves attachments from emails that correspond to the identifier assigned during selection to the specified folder (emails from Outlook are selected using the "Select message" action of this group).
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Message IDs | Collection with email IDs. If there is more than one item in the collection, the action will be applied to all. | Robin.Collection | Yes | |
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. | Robin.FolderPath | C:\doc\img | Yes |
Save images | If the value is «true», then the images from the message body will be saved, otherwise they will not be saved. | Robin.Boolean | true | No |
Results | ||||
Result | Collection of paths to created folders | Robin.Collection |
Example of use
Task
Save attachments from Outlook emails to the desired directory.
Solution
Use "Terminate", "Run", "Select message", "Save attachments" actions
Implementation
Assemble a robot scheme containing the following actions:
Set the parameters of the "Terminate" action (if Outlook is already running, the second copy will no longer open).
Fill in the parameters of the "Run" action.
Fill in the parameters of the "Select message" action.
5. Fill in the "Save attachments" action parameter
6. Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
The attachments from the selected email are saved to the called directory.