2 Apr 2005 09:12
Re: sorting messages in imap
Luke Ehresman wrote : > Is there a function to handle the IMAP "SORT" functionality? I don't > see one in mailimap.h. How does one sort a list of messages in a > folder with lebetpan? neither IDLE, SORT, THREAD or SASL extension of IMAP are implemented in libetpan. I consider IDLE and SASL more interesting than the two others. If you use the driver interface, you will find mail_build_thread() and mail_thread_sort() to thread and sort messages. The work will be done locally on the computer. (mailthread.h) That means that you have to use driver interface to use them or you could construct fake mailmessage object to build the initial needed mailmessage_list or mailmessage_tree. -- -- DINH V. Hoa, "sauvons les petits enfants asthmatiques" -- the penguin-biker
RSS Feed