I found Get Outlook Mail Messages Filter Filter By Subject and it helped me make a DASL filter for my Get Exchange Mail Message activity. However it returns 0 email messages no matter how I use it. Can anyone explain why it does not find anything, but the simple filter does? Does DASL not work with office 365 exchange?
Using UiPath.Mail.Acivities 1.15.2 or 1.16.0-preview I get the same result.
Does not work, these find nothing.
“@SQL=urn:schemas:httpmail:fromemail = ‘abc@xyz.com’”
“@SQL=urn:schemas:httpmail:fromemail LIKE ‘%xyz.com%’”
“@SQL=urn:schemas:httpmail:subject LIKE ‘%Shipping%’”
“@SQL”+Chr(34)+“urn:schemas:httpmail:fromemail”+Chr(34)+“like ‘%xyz.com%’”
I had noticed the copied " and ’ were the special characters and had re-type the whole thing. Same result with a freshly internally typed string, nothing returns but its simple filter equivalents return messages as expected. Thanks for the response.
After extensive searching I have come to the conclusion DASL and JET queries are not supported in the ‘Get Exchange Email Messages’ but are supported in Get Outlook Mail Messages.