Bug #53182 [Opn]: imap_search not valid with RFC 3501

From: Date: Wed, 27 Oct 2010 10:49:28 +0000
Subject: Bug #53182 [Opn]: imap_search not valid with RFC 3501
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155559@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53182&edit=1

 ID:                 53182
 User updated by:    william dot bessat at gmail dot com
 Reported by:        william dot bessat at gmail dot com
-Summary:            imap not valid with RFC 3501
+Summary:            imap_search not valid with RFC 3501
 Status:             Open
 Type:               Bug
 Package:            IMAP related
 Operating System:   All
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

There's a typo in the imap_search(), the resource is, of course, before
the search string :)


Previous Comments:
------------------------------------------------------------------------
[2010-10-27 12:45:58] william dot bessat at gmail dot com

Description:
------------
Hi,

The imap_search function is not compliant with the RFC 3501.
We can not search messages using their UID.

Example : imap_search("UID 200:*, $link);

The output goes in the error_log with this message :

[27-Oct-2010 12:34:35] PHP Notice:  Unknown: Unknown search criterion:
UID (errflg=2) in Unknown on line 0

Imo, this functionnality should be implemented for building advanced
webmails.

This is not a real *bug*, but more a lack of functionnality.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53182&edit=1


Thread (6 messages)

« previous php.bugs (#155559) next »