Archived Forum Post

Index of archived forum posts

Question:

Search IMAP mailbox by date and time

Feb 15 '13 at 14:21

Hello,

In the chilkat docs, the article entitled:

"(IOS) Search IMAP Mailbox for Email Matching Criteria"

When searching for email with date criteria, you can use a search string like:

betweenDates = @"SENTSINCE 15-Feb-2013";

my question is, is there any way to also filter on time, so that per the above string we could get just email sent since 15-Feb-2013 at 2 p.m. I have tried adding various time strings, military times, etc...to no avail, no emails are returned if I try to search with date and time.

Thank you in advance,

John


Answer

I don't think the IMAP specs allow that, see http://www.chilkatforum.com/questions/369/imap-date-format-for-searching-email