Bug #6989 Updated: imap_sort interprets headers

From: Date: Sat, 27 Apr 2002 17:47:21 +0000
Subject: Bug #6989 Updated: imap_sort interprets headers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6246@lists.php.net to get a copy of this message
ID: 6989 Updated by: jimw@php.net Reported By: brcamp@ucdavis.edu -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Solaris 7 PHP Version: 4.0.2 New Comment: the underlying c-client library does this sorting, and has no such options. Previous Comments: ------------------------------------------------------------------------ [2000-10-03 04:33:31] brcamp@ucdavis.edu 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); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=6989&edit=1

« previous php.bugs (#6246) next »