Open alfiehanssen opened 10 years ago
It doesn't support pagination yet. Using IMAP ESEARCH
would be the way to go for the implementation of paginated search.
Wow this is interesting. BTW I can't find any information about ESEARCH
, could anyone provide some link on this command for me?
https://tools.ietf.org/search/rfc4731
Related, this one is also interesting: http://tools.ietf.org/search/rfc6237
I'm building an application that relies on several search queries using
searchGmailRaw:
ofMCOIMAPSearchExpression
. Some of those query responses contain thousands of message indexes (via anMCOIndexSet
). Because of this it can take a relatively long time to receive a response.Does MailCore2 contain support for paginated requests? I.e., can I make one of these queries but specify that I want "page 1" of the results or "results 1-25" as opposed to the whole package?
Thanks in advance for any pointers!