Re: message list retrieval
Luke Ehresman <[email protected]>
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
> What you can do is to split the returned mailmessage_list into several > (you have to build up the mailmessage_list yourself) and use > mailmessage_get_envelope_list() things. I have looked through the documentation and grepped through all the sources in the libetpan directory, but can't find a reference to anything similar to get_envelope_list. Might it be under a different name? > If you fetch the headers using mailmessage_get_envelope_list(), you > could do the sorting (but you need to provide a custom function to > choose the kind of sorting). Fetching headers in IMAP using the > mailmessage_get_envelope() should be fast enough on most servers. > That does not do a FETCH request for each message. That will fetch the > (IMAP) ENVELOPE in one request, which is optimized (or can be optimized) > on most IMAP servers. Excellent. That's what I was hoping for. Thanks, Luke ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click