php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2570 imap_open parameter
Submitted: 1999-10-19 07:06 UTC Modified: 2000-02-29 15:01 UTC
From: schmidt at inf dot ethz dot ch Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.12 OS: Solaris 2.5
Private report: No CVE-ID: None
 [1999-10-19 07:06 UTC] schmidt at inf dot ethz dot ch
See the following statement (from PHP Manual):
$mbox = imap_open("{localhost:143}INBOX","user_id","password");

The strange thing with this is shown in the syslog:
Oct 19 12:54:15 XXX imapd[14058]: Login failure user=INBOX host=XXX [XXX.XXX.XXX.XXX]

The user should be "user_id" and not "INBOX". I tested ist several times and I found that imap_open uses "INBOX" as the user and the mailboxname.

Any suggestions ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 15:01 UTC] chagenbu at cvs dot php dot net
This is a problem with some versions of c-client (4.5
something, I think). Upgrade to c-client 4.7 and this
(and a lot of other problems) should be fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC