php.net |  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
Votes:2
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
 [2008-12-22 00:55 UTC] waza123 at inbox dot lv
Description:
------------
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("{127.0.0.1:143}INBOX", "any@mail.com", "aaaaaaaaaaaa");

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

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

$imap = imap_open("{127.0.0.1:143}INBOX", "any@mail.com", "abc");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-23 12:37 UTC] waza123 at inbox dot lv
Closed. Fixed in mail server imap / dbmail

http://git.dbmail.eu/paul/dbmail/?p=paul/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