How to filter emails using Get Mail activity date Query property by date

Need to consume emails by a specific date. Can I filter emails using the query by date? Has anyone done this?
I searched on other forums and didn’t see anyone doing the same.

Kindly try with this string format in filter property buddy
" [ReceivedTime] >= ‘02/23/2018’ AND [ReceivedTime] <= ‘02/25/2018’ "

3 Likes

You have to put the below code in the filter option of Get Email properties:

“[ReceivedTime] >= ‘write starting date here’ AND [ReceivedTime] <= ‘write ending date here’”

2 Likes

Hi @ilanaribeiro95

Welcome to Uipath community

Check out the documentation

Regards
Gokul

getmail

did not work

Hi @ilanaribeiro95,

Try using in below format
" [ReceivedTime] >= ‘02/23/2018 00:00 AM’ AND [ReceivedTime] < ‘02/26/2018 00:00 AM’ "

1 Like

getmail
is it necessary to specify the exact time?

can you share workflow with us to help you

“ReceivedDateTime ge 2022-07-12T00:00:00Z and ReceivedDateTime lt 2022-07-13T00:00:00Z”

I did this and it worked

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