Greetings, hope all are fine.. i am trying to go IMAP search on specific time frame.. for example i need to check the main that sent on month jul, so, i use following search criteria:
and checked the returned email date and noticed the time is as below:
here i gave some example:
please notice first two items date and time.. it shows jun month result :(
though it was told that IMAP since don't care about time and zone.. but i notice that my gmt is GMT+6.00 and if i add 6 hours it will be 1st JUL
any idea how to get only the message that is send on my since date range?
thanks in advance...
asked Dec 11 '15 at 06:17
As per the IMAP Standard searches are based on the server date
So I think the only way around this is the then check the date of the email within your application to remove emails the previous day.
You could also miss emails at the end of your search, eg late on 31st July so you may want to take that into account too.
answered Dec 14 '15 at 07:47