Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

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

Image Removed

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

Image Added

Settings of parameters

...

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

...

  1. Assemble a robot scheme containing the following actions:


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


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

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

...

In the Folder option, select the folder that will contain the email in the mailbox.

...

Set the "Unread only" parameter to true. It is necessary to select e-mails only among the unread ones.

...

In the "Subject" parameter specify the subject of the email - "Application for leave".

...

In the "From date" parameter specify the date when the email was received. Letters will be selected if they are received not earlier than the specified date.

...

Set the "Attachment exist" parameter to true. This is important to select emails only among the ones that have attachments.

...

  1. .
    Image Modified


       5. Fill in the "Save attachments" action parameter

...

Image Added

...

6. Click on the "

...

In the "Directory" specify the full path to the folder where attachments from the selected emails will be saved

Start" button in the top panel. 


Result

The program robot completed successfully.

...