#36414 [Opn->Fbk]: imap_open can't connect with login = 'user@domain.com'
| From: | mike@php.net | Date: | Fri, 17 Feb 2006 21:05:37 +0000 |
| Subject: | #36414 [Opn->Fbk]: imap_open can't connect with login = 'user@domain.com' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93385@lists.php.net to get a copy of this message | ||
ID: 36414
Updated by: mike@php.net
Reported By: ldehon at i-puzzle dot fr
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Windows XP/2003
PHP Version: 5.1.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Works fine here.
Previous Comments:
------------------------------------------------------------------------
[2006-02-16 12:53:05] ldehon at i-puzzle dot fr
Description:
------------
I've an error when trying to connect with imap_open on a server which
need the full email adress to connect like "username@domain.com"
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 = "username@domain.com";
$sPassword = "mypassword";
$rIMAP = imap_open("{" . $sServer . ":" . $sPort . "/pop3}INBOX",
$sLogin, $sPassword);
imap_close($rIMAP);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36414&edit=1