Skip to content

Fastest way to search and filter for messages using IMAP #1862

Answered by jstedfast
lonix1 asked this question in Q&A
Discussion options

You must be logged in to vote

The ENVELOPE data structure is typically cached by the IMAP server (because it is both static data and designed to be commonly requested by clients), so it should theoretically be more likely to be faster than requesting headers which is going to require the server to parse each message.

Obviously it all comes down to the particular implementation of the IMAP server.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lonix1
Comment options

Answer selected by lonix1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants