|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36414 imap_open can't connect with login = ''
Submitted: 2006-02-16 12:53 UTC Modified: 2006-02-25 01:00 UTC
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: ldehon at i-puzzle dot fr Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 5.1.2 OS: Windows XP/2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ldehon at i-puzzle dot fr
New email:
PHP Version: OS:


 [2006-02-16 12:53 UTC] ldehon at i-puzzle dot fr
I've an error when trying to connect with imap_open on a server which need the full email adress to connect like ""

PHP send me this error :
Couldn't open stream {}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    = "";
$sPort      = "110";
$sLogin     = "";
$sPassword  = "mypassword";

$rIMAP = imap_open("{" . $sServer . ":" . $sPort . "/pop3}INBOX", $sLogin, $sPassword);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-17 22:05 UTC]
Please try using this CVS snapshot:
For Windows:

Works fine here.
 [2006-02-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 06:01:23 2021 UTC