20 lines
793 B
Plaintext
20 lines
793 B
Plaintext
MBOX-Line: From catphive at catphive.net Thu Apr 14 17:52:48 2011
|
|
To: imap-protocol@u.washington.edu
|
|
From: Brendan Miller <catphive@catphive.net>
|
|
Date: Fri Jun 8 12:34:45 2018
|
|
Subject: [Imap-protocol] cancel or limit results from imap search
|
|
Message-ID: <BANLkTi=JPaPQnuNtFWrwT+GUuuX0gC-wfg@mail.gmail.com>
|
|
|
|
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.
|
|
|
|
Thanks,
|
|
Brendan
|
|
|