note 27070 added to function.imap-sort

From: Date: Thu, 21 Nov 2002 19:23:04 +0000
Subject: note 27070 added to function.imap-sort
Groups: php.notes 
Request: Send a blank email to php-notes+get-39831@lists.php.net to get a copy of this message
I use imap_sort() to go through POP3 accounts. However, sometimes, when the mailbox is too large, the response is incredibly slow. I tried sniffing the network to discover the source of the problem and found that when imap_sort() is called for a POP3 server, it downloads the full body & attachs of ALL the messages in the mailbox. Since my POP server and my Web server are on differente machines, this caused the considerably slow response. I've been trying a work-around this issue and if I manage to do this I'll post it here. -- http://www.php.net/manual/en/function.imap-sort.php http://master.php.net/manage/user-notes.php?action=edit+27070 http://master.php.net/manage/user-notes.php?action=delete+27070 http://master.php.net/manage/user-notes.php?action=reject+27070

« previous php.notes (#39831) next »