|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-27 13:47 UTC] jimw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 01:00:01 2025 UTC |
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);