[Imap-protocol] cancel or limit results from imap search
catphive at catphive.net
Thu Apr 14 17:52:48 PDT 2011
Is there a way in the imap protocol to limit the number of results
from a search command? Would the only way to do this be to disconnect
the tcp stream after having received the number of results you want?
As a follow up question, in the c-client, is there a means of safely
disconnecting a mailstream in the mm_searched callback? The
documentation seemed to indicate that calling back into the c-client,
say to do a mail_close, is not safe within mm_* callbacks.
More information about the Imap-protocol