PHP 4.0 Bug #6989: imap_sort interprets headers
| From: | brcamp at ucdavis dot edu | Date: | Tue, 03 Oct 2000 08:33:31 +0000 |
| Subject: | PHP 4.0 Bug #6989: imap_sort interprets headers | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34092@lists.php.net to get a copy of this message | ||
From: brcamp@ucdavis.edu
Operating system: Solaris 7
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: imap_sort interprets headers
I've just started using the imap_sort function, and I notice that sorts by
subject exclude "Re:" and "Fwd:", and sorts by 'from' seem to sort
strictly
by the email address, excluding any name portion (e.g.
John Smith <zz@foo.org> would be sorted by zz@foo.org). Would it be possible to include a
flag to sort without any interpretation of headers?
Here's how I'm doing my sorts, if it matters:
$msg_array = imap_sort($config_obj->imap_stream, SORTSUBJECT, 0,
SE_NOPREFETCH | SE_UID);