From: ldehon at i-puzzle dot fr
Operating system: Windows XP/2003
PHP version: 5.1.2
PHP Bug Type: IMAP related
Bug description: imap_open can't connect with login = '[EMAIL PROTECTED]'
Description:
------------
I've an error when trying to connect with imap_open on a server which need
the full email adress to connect like "[EMAIL PROTECTED]"
PHP send me this error :
Couldn't open stream {pop.xxxx.com:110/pop3}INBOX
and imap_errors() tell me "Can't login to this server."
I've tried the same code on a different pop3 server which username don't
need the domain and it works.
Thanks in advanced
Reproduce code:
---------------
$sServer = "pop.xxxx.com";
$sPort = "110";
$sLogin = "[EMAIL PROTECTED]";
$sPassword = "mypassword";
$rIMAP = imap_open("{" . $sServer . ":" . $sPort . "/pop3}INBOX", $sLogin,
$sPassword);
imap_close($rIMAP);
--
Edit bug report at http://bugs.php.net/?id=36414&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36414&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36414&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36414&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36414&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36414&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36414&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36414&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36414&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36414&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36414&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36414&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36414&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36414&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36414&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36414&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36414&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36414&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36414&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36414&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36414&r=mysqlcfg