Select message Version 9 (Net)
Action group: Outlook
Description
The action selects emails from the mailbox that match the specified filters and saves their IDs to a variable.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Messages data store | Optional parameter. Repository from which to select emails. The repository name is often (but not always) the same as the user account. | Robin.String | No | |
Folder | Optional parameter. The folder from which to select emails. To specify more than one item, use «;». | Robin.String | No | |
Unread only | Optional parameter. Select only unread emails. | Robin.Boolean | true | No |
Sender | Optional parameter. The mailing address of the sender of the email. To specify more than one item, use «;». The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
Recipients | Optional parameter. The mailing address of the additional recipient of the email. To specify more than one item, use «;». The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
CC | Optional parameter. The mailing address of the recipient of the copy of the email. To specify more than one item, use «;». The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
Subject | Optional parameter. The text that the subject line should contain. The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
Body | Optional parameter. The text that should contain the body of the email. The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
From date | Optional parameter. Date of receipt of the email, starting from which it was necessary to select emails. | Robin.DateTime | No | |
To date | Optional parameter. Date of receipt of the email, up to which inclusively you need to select emails. | Robin.DateTime | No | |
Attachment exist | Optional parameter. Only emails with attachments will be selected. | Robin.Boolean | true | No |
Count | Optional parameter. The number of emails to be subtracted from the mailbox according to the specified filters. The default is 10. | Robin.Numeric | No | |
Attachment name | Optional parameter. The text that should contain the name of the attachment. The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text. For example: Document {[123]}. The text should be case-sensitive. | Robin.String | No | |
Mark as read | Optional parameter. Mark selected emails as read. | Robin.Boolean | true | No |
Results | ||||
Selected messages IDs | The collection into which the identifiers of the emails selected by the selected filters are saved | Robin.Collection |
Special conditions of use
In parameters:
- Sender
- Recipients
- CC
- Subject
- Body
- Attachment name
The search pattern using wildcards * ; ? ; [ ]; ! ; - ; # is supported. The wildcard must be enclosed in { } to separate the character from the plain text.
For example: Document {[123]}. The text should be case-sensitive.
Summary:
- If specified: Document [123], then perceive it simply as text; if there are no emails with such text, then the action will end, i.e. it will not try to perceive these [] as special characters and search according to the template.
- If specified: Document {[123]}, then first search as text, if nothing is found, then search as a template, in which what is in square brackets is one of the possible characters after the word Document;
- {} does not count as text at all in this case.
- If specified: Document {123}, it is considered as just text, because there are no special characters inside {}.
- When searching for two values or more, they must be specified with semicolons Document {[123]};{[864]}
Example of use
Task
Select messages with the subject "Application for leave" and save attachments from Outlook emails to the required directory.
Solution
Use "Terminate", "Run", "Select message", "Save attachments" actions.
Implementation
- Assemble a robot scheme containing following actions:
- Set the "Terminate" action parameters (if Outlook is already running, the second instance will no longer open)
- Set the "Run" action parameters.
- Fill in the "Select messages" action parameters.
- Fill in the "Save Attachments" action parameter.
- Click "Start" in the top panel.
Result
The called letters are selected. The attachments from the selected letters are saved in the called folder.
Обзор
Инструменты контента