Bug #2847 Updated: imap_search - dates don't work

From: Date: Sun, 16 Jun 2002 13:01:50 +0000
Subject: Bug #2847 Updated: imap_search - dates don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10732@lists.php.net to get a copy of this message
ID: 2847 Updated by: sander@php.net Reported By: burton@gozoom.com -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: linux PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 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. Previous Comments: ------------------------------------------------------------------------ [2000-03-15 13:37:10] burton@gozoom.com after looking at the c-client library and PHP's implementation in imap.c, I think the problem is the use of the mail_criteria() function. It is restricted to IMAP2. It should be possible to get full IMAP search functionality by creating and filling in the SEARCHPGM *pgm argument to mail_search_full() directly. ------------------------------------------------------------------------ [2000-03-15 10:20:10] hholzgra@cvs.php.net at least some of the search_related functions in c-client seem to be stuck with IMAPv2 causing this (and maybe other) problems ? ------------------------------------------------------------------------ [1999-11-27 22:52:13] burton@gozoom.com when I call the imap_search function with criteria which includes dates, the search seems to fail. This will work: subject "image" This will fail: subject "image" since 1-Jan-1997 I'm using the Cyrus IMAP server. Both strings work fine if I submit them directly to the IMAP server by telnetting in. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2847&edit=1

« previous php.bugs (#10732) next »