note 29612 deleted from function.imap-fetch-overview by didou

From: Date: Sun, 14 Jan 2007 18:16:27 +0000
Subject: note 29612 deleted from function.imap-fetch-overview by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121641@lists.php.net to get a copy of this message
Note Submitter: php dot net at warrenfalk dot com ---- 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

« previous php.notes (#121641) next »