From:             [EMAIL PROTECTED]
Operating system: RedHat Linux 7.2
PHP version:      4.0.6
PHP Bug Type:     IMAP related
Bug description:  imap_search() does not support search criteria SENTSINCE

The funcion imap_search() return false if you use the keyword SENTSINCE or
SENTBEFORE.

Example:
- this return false
imap_search($mbox, 'SENTSINCE 01-Jan-2001');
- this works
imap_search($mbox, 'SINCE 01-Jan-2001');

The keyword is supported by wu-imapd 2000c.
I try doing a 'telnet localhost imap' and entered the commands manually
and the keyword works.
Also Netscape 6.2.1 us SENTSINCE and SENTBEFORE instead
of SINCE and BEFORE.

I tested this in RedHat 7.1 and 7.2 with PHP 4.0.4pl1 and PHP 4.0.6

Also, if you use the SENTSINCE keyword, nothig is sended to the imap
server. I use tcpdump to debug. Only if you use SINCE, the query is sended
to the imap server.

Chech RFC 2060 Section 6.4.4. :
http://www.isi.edu/in-notes/rfc2060.txt

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to