I need to filter the mails by multiple senders in Getoutlookmailmessages activity.
I used
“@SQL=(”“http://schemas.microsoft.com/mapi/proptag/0x0065001f”" like ‘%“+in_Domains+”%’)"
in filter option. My in_Domains argument contains “gmail.com;uipath.com”. But it is failing to retrieve the mails.
Could you please help me with the argument initialization?
Have you tried giving wildcard cahracters like “*gmail.com;”
Refer to this link : How to filter messages in Get outlook mail messages
I need to filter mails from multiple Domains.
Example, I got mails from these domains: gmail.com, yahoo.com, uipath.com.
But I need to retrieve only the mails from gmail and yahoo.
Well lets go with get all mail messages approach.
- get all outlook mailmessages.
- Get mailObject.sender email address.
- Either check for @gmail or @yahoo email address
- Add the items to collections
This should be fairly straightforward.