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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Messages data storeOptional parameter. Repository from which to select emails. The repository name is often (but not always) the same as the user account.Robin.String
No
FolderOptional parameter. The folder from which to select emails. To specify more than one item, use «;».Robin.String
No
Unread onlyOptional parameter. Select only unread emails.Robin.BooleantrueNo
SenderOptional 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
RecipientsOptional 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
CCOptional 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
SubjectOptional 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
BodyOptional 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 dateOptional parameter. Date of receipt of the email, starting from which it was necessary to select emails.Robin.DateTime
No
To dateOptional parameter. Date of receipt of the email, up to which inclusively you need to select emails.Robin.DateTime
No
Attachment existOptional parameter. Only emails with attachments will be selected.Robin.BooleantrueNo
CountOptional parameter. The number of emails to be subtracted from the mailbox according to the specified filters. The default is 10.Robin.Numeric
No
Attachment nameOptional 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 readOptional parameter. Mark selected emails as read.Robin.BooleantrueNo
Results
Selected messages IDsThe collection into which the identifiers of the emails selected by the selected filters are savedRobin.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

  1. Assemble a robot scheme containing following actions:


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

  3. Set the "Run" action parameters.                                                                                                                          

  4. Fill in the "Select messages" action parameters.
  5. Fill in the "Save Attachments" action parameter.


  6. Click "Start" in the top panel.

Result

The called letters are selected. The attachments from the selected letters are saved in the called folder.

  • Нет меток