How to filter Exchange Mailbox using activities?

Does it work with “Get Exchange Mail Messages”?
I’ve been trying a lot but no results at all…

hi @Daniel.Stella

if you are trying to filter mails based on subject, then try below pseudo code

get unread mails → mail_list
for each mail in mail_list
if mail.Subject.Contains(“your filer key word”)

in for loop properties TypeArgument should be System.Net.Mail.MailMessages

hope this is helpful

Thanks Adita,

I am trying NOT to use a loop because it is time wasting (…when talking, as in my case, about several houndrerds of mails…)

I found out the correct usage of the property “FilterExpression” for “Get Exchange Mail Messages” activity.

Please, check the following link:



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