Get Outlook Mail activity Filter with From AND Subject

How can I do 2 or more conditions in the Filter for Get Outlook Mail activities? I can do only 1 condition so far.

I have:
“@SQL=urn:schemas:httpmail:subject LIKE ‘%departing employee%’”

that is for the Subject, BUT I want also to filter mails by Sender + Subject.

thank you for support.

1 Like

For both sender and subject combine the expression would be like this

“@SQL=(urn:schemas:httpmail:subject LIKE ‘%departing employee%’) AND (urn:schemas:httpmail:fromemail LIKE ‘’)”

Cheers @Twits_Rombaoa


thanks @Palaniyappan, let me give it a try. :slight_smile:

1 Like

kindly let know for any queries or clarification

Cheers @Twits_Rombaoa

thanks for the tip man. I did it this way and now I am getting my expected result:

“@SQL=(”“urn:schemas:mailheader:sender”" LIKE ‘%FirstName LastName%’) AND ("“urn:schemas:mailheader:subject”" LIKE ‘%Expiring access rights For departing employee%’)"

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