note 29612 added to function.imap-fetch-overview
| From: | php dot net at warrenfalk dot com | Date: | Wed, 19 Feb 2003 03:35:13 +0000 |
| Subject: | note 29612 added to function.imap-fetch-overview | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44186@lists.php.net to get a copy of this message | ||
regardless of trionon's comments, the "sequence" parameter of imap_fetch_overview()
only seems to specify *which* messages to get, not the *sequence* of the returned messages, so using
imap_sort and imploding to a string to use for "sequence" is utterly useless since the
c-client library from UW appears to use the "sequence" to mark the messages, then returns
the messages in their stored (not sorted) order (which is, btw, somewhat unpredictable)
I was going to submit a bug report on this one, but the documentation here doesn't actually say
that "sequence" means the sequence that the overviews are returned. I'm thinking
maybe a feature should be requested. The question is: Is this the job of PHP or the job of UW-IMAP?
I think the former should add a parameter allowing the developer to optionally apply the sequence
literally
--
http://www.php.net/manual/en/function.imap-fetch-overview.php
http://master.php.net/manage/user-notes.php?action=edit+29612
http://master.php.net/manage/user-notes.php?action=delete+29612
http://master.php.net/manage/user-notes.php?action=reject+29612