Bug #13499: imap_open fails to authenticate

From: Date: Mon, 01 Oct 2001 17:45:30 +0000
Subject: Bug #13499: imap_open fails to authenticate
Groups: php.dev 
Request: Send a blank email to php-dev+get-66951@lists.php.net to get a copy of this message
From: pc@philiptcarey.com Operating system: linux (mandrake 2.4.8-24mdk) PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap_open fails to authenticate PHP 4.06 Code which works on apache 1.3.2 on Win2k fails on linux with the same versions of PHP and apache. Depending on the extensions which are enabled either output terminates completely, or if the only enabled extension is imap then authentication fails. Code shown: $server = "bluetrain.com"; $port = ":143/imap"; $account = "pcarey@bluetrain.com"; $passwd = "x0x0x0"; // not really... $connstr = '\{' . $server . $port . '}' . imap_utf7_encode($mailbox); $connstr = "\{$server$port}" . imap_utf7_encode($mailbox); $mbox = imap_open ($connstr, $account, $passwd) or die(imap_last_error ()); Seems like this would have been noticed by the folks that do horde, since horde will not work and fails with the same behavior. A variety of servers, accounts, syntaxes have been attempted, but it is never possible to authenticate from linux, apache 1.3.2 php4.06. -- Edit bug report at: http://bugs.php.net/?id=13499&edit=1

« previous php.dev (#66951) next »