Michelle Konzack writes:
But how can I do thread sorting?The squirrelmail sourcecode is really weird and I do not understand how it works. Question: Can I use for this the "IMAP CAPABILITY" server side sorting? I access the imap account with php5 and php-imap.
The IMAP command is THREAD REFERENCES. The response consists of message numbers, with parenthesis indicating various threads and subthreads:
a THREAD REFERENCES UTF-8 ALL* THREAD (1)(2)(5 3 4)(6 7)(8)(9)(10 11 12)(13)(14)(15 16 17)(18)(19)(20 22) (21)(23 (24)(25))(26)(27)(28)(29)(30)(31)(32)(33)((34)(37)(39))(35)(36)(38) (40)(41)((42)(43))(44)(45 46)(47 48)(49 50 ((51)(52)))
a OK THREAD done.The complete specification is a somewhat of a big pill to swallow. See https://tools.ietf.org/html/rfc5256
pgp7tWVIXdk_9.pgp
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users