Get outlook mail messages filter help

I’m stuck on how to apply the get outlook mail messages filter.

I want to get a specific file from the sent items folder, so I have used top = 1, folder = “Sent Items”, and the filter is set to “[Subject] = ‘emailSubject’" where emailsubject is a string variable.

However, this isn’t getting anything.

I’ve not used a filter before, so any help would be great. Thanks.

Try like this:
"@SQL=urn:schemas:httpmail:subject LIKE '%" + subjVar + "%'"

I don’t want to use LIKE or any wildcards, I need an exact match only.

just use = then…

So is it

“@SQL=urn:schemas:httpmail:subject = '” + subjVar + “’”

?

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