|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-11 23:29 UTC] php dot net at actionweb dot com
After upgrading to PHP 4.1.2 from 4.0.4pl1 and doing this:
imap_open("{hostname/POP3:110}INBOX", "userid", "password")
...simply returns "Couldn't open stream" when trying to talk to POP3/110. I checked tcpdump and I see nothing happening on port 110. Switching back to 4.0.4pl1 fixes the problem. Tried installing the latest c-client and still nothing. Seems something about imap_open has been broken in this version.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 21 23:00:01 2025 UTC |
What if you use this instead: $mbox = imap_open ("{localhost:110/pop3}INBOX", "user_id", "password"); (straight from the manual)Additional note: I did some more experimenting and it turns out that the current PHP does NOT have a problem with this syntax: imap_open("{hostname/pop3:110}INBOX", "userid", "password") ...which is the same syntax NOCC v.9.2 used with the exception that "pop3" is lower case. In summary, in previous versions of imap_open() the protocol specifier was not case sensitive. Now it is.