How to apply multiple subject Filters in get outlook mail message

I need to apply multiple subject filters I was trying like this

Basically I need to read messages whose subject is either MARCICOIMPPAID or MARICOIMPLCPAID

"@SQL=""urn:schemas:httpmail:subject"" like '%MARCICOIMPPAID%' OR @SQL=""urn:schemas:httpmail:subject"" like '%MARICOIMPLCPAID%"

But this is giving Error

Get Outlook Mail Messages: Cannot parse condition. Error at "@SQL="urn:schemas:httpmail:subject" like...".

Can anybody suggest ?

Hi @Ishan_Shelke

Please try this:

"@SQL=urn:schemas:httpmail:subject like '%MARCICOIMPPAID%' OR urn:schemas:httpmail:subject like '%MARICOIMPLCPAID'"

Edit the quotations according to the syntax: "@SQL=""urn:schemas:httpmail:subject"" like '%MARCICOIMPPAID%' OR ""urn:schemas:httpmail:subject"" like '%MARICOIMPLCPAID%'"

Hope this helps,
Best Regards.


Hi @Ishan_Shelke ,

Please find the below link,

You can find the filtering conditions in the above link,

Hope this might help you :slight_smile:


This Didn’t work but the below did

"@SQL=""urn:schemas:httpmail:subject"" like '%MARCICOIMPPAID%' OR ""urn:schemas:httpmail:subject"" like '%MARICOIMPLCPAID%'"

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