php3-list | 199908

[PHP3] BUG: IMAP call imap_sort appears broken? From: Jason Haar (jhaar <email protected>)
Date: 08/15/99

Hi there

Env: PHP-3.0.12/IMAP-4.6BETA.

The TWIG Web-based IMAP mail reader uses imap_sort to do things like work
out which message comes before and after the current message. It currently
calls imap_sort as "imap_sort(1param,2param,3param)". If it used the
documented 4th parameter, it could stop imap_sort returning all the message
headers of all the mail in the current mailbox - which is the default.
Stopping that would lead to a tremendous improvement in performance on such
cr%ppy mail servers as Exchange. Anyway, from what I can see, adding the
SE_NOPREFETCH param would stop imap_sort from return the headers - however
it doesn't appear to...

Can someone who knows check and confirm/deny this? Is it a PHP3 or IMAP-4.6
problem?

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ Phone: +64 3 3391 377 Fax: +64 3 3391 417

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>