Bug #15197 Updated: imap_reopen() returns TRUE instead FALSE called with nonexistant mailbox

From: Date: Wed, 26 Jun 2002 23:38:40 +0000
Subject: Bug #15197 Updated: imap_reopen() returns TRUE instead FALSE called with nonexistant mailbox
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12181@lists.php.net to get a copy of this message
ID: 15197 Updated by: sniper@php.net Reported By: alex@phobgate.de -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: FreeBSD 4.4 RELEASE PHP Version: 4.0.6 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-01-24 04:02:41] alex@phobgate.de using imap_reopen using invalid/nonexistant mailbox name, imap_reopen() returns TRUE instead of FALSE. happens on previously, successfully opened imap stream with imap_open(), but not selecting specific mailbox, just opening connection to imapd. imapd reports 'NO Mailbox does not exist' on request 'EXAMINE INBOX.asdasdasd' (and other nonexistant mailboxes) but imap_reopen() doesn't return this error. see appended logfile from imapd connection. php-4.0.6 with following configure options: ./configure --with-mysql=/usr/local --with-ttf --enable-track-vars --with-apache=../apache_1.3.22 --with-imap --with-imlib=/usr/X11R6 --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --with-xpm-dir=/usr/X11R6 c-client library: imap-4.7c2.tar.Z imapd: cyrus imapd 1.6.24 logfile from imapd connection: 00000001 OK User logged in 00000002 CAPABILITY n* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID 00000002 OK Completed 00000003 NOOP L00000003 OK Completed 00000004 EXAMINE INBOX.asdasdasd l00000004 NO Mailbox does not exist 00000005 SEARCH ALL X00000005 BAD Please select a mailbox first 00000006 LOGOUT L* BYE LOGOUT received 00000006 OK Completed ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15197&edit=1

« previous php.bugs (#12181) next »