Mail Filter with DateRange

How to Filter Mail Message using GetIMAP activity between a date range eg: 17/06/2023 to 19/06/2023?
I refer this https://docs.uipath.com/activities/other/latest/user-guide/get-imap-mail-messages
but doesn’t get solution

Hi @Lakshmi_Tiliconveli,

Try this

Date should be MM/dd/yyyy

" [ReceivedTime] >= ‘06/17/2023’ AND [ReceivedTime] <= ‘06/19/2023’ "

Thanks,

Hi @RajKumar_DC
Thanks for the Reply.
Just to Confirm ReceivedTime is that keyword or Variable you mean? Because I can’t filter mail message in ForEach as in this project we will receive 3k+ mail daily,which we need to process daily.

@RajKumar_DC


use this in filter box

" [ReceivedTime] >= ‘02/23/2018’ AND [ReceivedTime] <= ‘02/25/2018’ "

ReceivedTime is attribute/property of Email like subject ect

Oh ! Okay Let me try this. Thanks

1 Like

@raja.arslankhan @RajKumar_DC

I am using GetImapActivity to extract mail. When I used this above expression. Please find the below screenshot.

Hi @Lakshmi_Tiliconveli

Delete the activity and add again the activity, Give all the required fields.
Try " [ReceivedTime] >= ‘06/17/2023’ AND [ReceivedTime] <= ‘06/19/2023’ " in the filter expression

Hope it helps!!

@pravallikapaluri
I tried that by deleting activity and used this filter expression but still same issue persist

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