Apply filter Get outlook mail message

Hi All,
I am using get outlook mail message activity to read the mail. I have to apply the filter in the property as i want to get those mails whose email address contain ****@useipi.com and ****@iformbuilder.com. Please Help!!!

Hi @harshit.gupta
try below expression in filter property

“[SenderEmailAddress] LIKE ‘%@useipi.com’ AND [SenderEmailAddress] LIKE ‘%@iformbuilder.com’”
let me know if its work

Thanks
Akash Javalekar

@harshit.gupta

in outlook activities we are seeing issue with filter on address with like…better to use linq instead after getting all mails

listmails.Where(function(x) x.From.Address.contains("Yourvalue") or x.From.Address.contains("Yourvalue2")).ToArray

cheers

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