php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36414 imap_open can't connect with login = 'user@domain.com'
Submitted: 2006-02-16 12:53 UTC Modified: 2006-02-25 01:00 UTC
Votes:3
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ldehon at i-puzzle dot fr
New email:
PHP Version: OS:

 

 [2006-02-16 12:53 UTC] 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);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-17 22:05 UTC] mike@php.net
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.
 [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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC