php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11871 imap_search fails to search using FROM
Submitted: 2001-07-04 06:15 UTC Modified: 2002-05-24 20:19 UTC
From: fjortiz at comunet dot es Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.5 OS: Windows MT
Private report: No CVE-ID: None
 [2001-07-04 06:15 UTC] fjortiz at comunet dot es
Using PHP4.0.5 as CGI under Windows NT/IIS 4, and trying to connect a imap-4.7-5 server in a Linux box, everything works fine except imap_search with a search string like: 

'FROM "james"'  or
"FROM \"james\"" or 

all the other search options work fine (SUBJECT, CC ...), it's from that fails




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-04 06:28 UTC] derick@php.net
Can you try this with 4.0.6? There where some fixes with the IMAP extension IIRC.

Derick
 [2001-07-05 05:34 UTC] fjortiz at comunet dot es
we have tested 4.0.3pl1, 4.0.5 and 4.0.6. These are the results:

4.0.3pl1: only SUBJECT "this is my subject" works, and ONLY if the string is exactly the same as the subject. For example SUBJECT "this is" wouldn't work, we don't know if there are "LIKE" clauses or it must be a perfect match. 

CC and FROM clauses don't work.

4.0.5 and 4.0.6: nothing works with imap_search, not even those SUBJECT with full text that worked with 4.0.3pl1.

Remember we have an imap-4.7-5 server on RH Linux 6.2

 [2002-05-24 20:19 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC