|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46921 imap_open username or password length == 12
Submitted: 2008-12-22 00:55 UTC Modified: 2008-12-23 12:37 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: waza123 at inbox dot lv Assigned:
Status: Closed Package: Session related
PHP Version: 5.2.8 OS: Linux Slackware 12
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: waza123 at inbox dot lv
New email:
PHP Version: OS:


 [2008-12-22 00:55 UTC] waza123 at inbox dot lv
Cannot login to IMAP server without SSL (with not tested)

length of username or password must be: 12

then try to connect with imap_open()

$imap = imap_open("{}INBOX", "", "aaaaaaaaaaaa");

Warning: imap_open() [function.imap-open]: Couldn't open stream {}INBOX in /home/

BUT, if you set any other password length: 11 or 13 or 10 or any then all OK

$imap = imap_open("{}INBOX", "", "abc");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-23 12:37 UTC] waza123 at inbox dot lv
Closed. Fixed in mail server imap / dbmail;a=commitdiff;h=40adcfd891d891a8a623f742919763ba157a93b7
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 22:05:54 2022 UTC