php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6989 imap_sort interprets headers
Submitted: 2000-10-03 04:33 UTC Modified: 2002-04-27 13:47 UTC
From: brcamp at ucdavis dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.2 OS: Solaris 7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brcamp at ucdavis dot edu
New email:
PHP Version: OS:

 

 [2000-10-03 04:33 UTC] brcamp at ucdavis dot 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);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-27 13:47 UTC] jimw@php.net
the underlying c-client library does this sorting, and has no such options.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 19:01:28 2024 UTC