Get Exchange Mail Message Date Filter

I am new to UiPath. I am looking to pull emails from exchange but only want the emails from Today. What is the best way to filter the emails so I can only see the one’s from the current date?

In filter properties"[ReceivedTime]>=’"+DateTime.Now.ToShortDateString+"’"

Thank you this is helpful. Is it possible for me to then us an If activity and for the condition put “if the mail date is today then…” instead of using the exchange date filter?

Hi @atarantino
welcome to forum

you can try different ways for to get filtering the mails. The method is selected based on amount of emails u need to process etc

example is , if you had to check through 100 of emails to filter out the mails with today’s received date, then using a if condition would take certain time to filter out.

while @Divyanshu_Divyanshu method is quick way, it quickly helps to filter the mails quickly too.

1 Like

i cannot thank you enough. This is exactly what i needed!

1 Like

Mark the appropriate answer as solution so that we can close the topic

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