开发者

Search in IMAPv4

Is there a way to tell the IMAP server that it only h开发者_如何学编程as to find the first 20 responses that fit a given search criteria. So, for example, I am sending to the server the command (SEARCH SINCE 1-Feb-2010) and it will wait to return all messages since 1-Feb-2010. Is there a way to tell the server that it only has to return the first 20?

PS: the spec for IMAP https://www.rfc-editor.org/rfc/rfc2060.html#section-6.4.4


I don't think that you can do it.

SEARCH returns only message numbers or UIDs so it's pretty fast.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜