Get Outlook Mail Messages - Filter

Hi,
i will be receiving emails from listed domains and have to filter email based on string which contains couple of domains.

String = (“xyz.com”,“abc.com”,“wer.com”)

while getting the emails from outlook i want to filter emails only from the above domains using filter property from get outlook mail messages.
can anyone suggest here ?

Thanks

@avinashy Check the below Filter Query :

"@SQL=(""http://schemas.microsoft.com/mapi/proptag/0x0065001f"" like '%"&"xyz.com" &"%') OR (""http://schemas.microsoft.com/mapi/proptag/0x0065001f"" like '%"&"abc.com" &"%') OR (""http://schemas.microsoft.com/mapi/proptag/0x0065001f"" like '%"&"wer.com" &"%')"
2 Likes

@supermanPunch : Thanks for your quick response.its working fine

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.