ID: 11433 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: IMAP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Not a bug in PHP. Please report this to the c-client author. Previous Comments: --------------------------------------------------------------------------- [2001-06-12 09:02:20] [EMAIL PROTECTED] When imap_search() string contains no whitespace (ex: imap_search($mbox, "SUBJECT "1234""); ), it doesn't include the double-quotes in the command to the imap server. The search above would result in this command to the imap server (verified with a packetsniffer): SEARCH ALL SUBJECT 1234 If you run UW's imapd, this is not a problem, however, courier-imap requires double-quotes around the searchstring. Some strings work, but strings containing special characters or only numbers will fail if they are not surrounded by double-quotes. If you instead do the following search: imap_search($mbox, "SUBJECT "1234 1234""); it will result in: SEARCH ALL SUBJECT "1234 1234" /pb --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11433&edit=2 -- 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]