ID: 16562
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: IMAP related
Operating System: RedHat 6.x
PHP Version: 4.1.2
Previous Comments:
------------------------------------------------------------------------
[2002-04-12 12:58:37] [EMAIL PROTECTED]
Oops... I didn't see [EMAIL PROTECTED]'s comment. Perhaps it is in the
imap libary, but what's strange is I tried using the same library that
I used with the prior PHP version and it still had a problem.
------------------------------------------------------------------------
[2002-04-12 12:54:18] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
[2002-04-12 12:52:07] [EMAIL PROTECTED]
Actually it's the imap library whose syntax did change, not PHP itself.
------------------------------------------------------------------------
[2002-04-12 12:23:53] [EMAIL PROTECTED]
I thought I'd tried that already, but there must have been something
else wrong when I did, because that fixed it. Thanks. :-)
Side note... the reason I was trying it that way is because that's how
NOCC v.0.92 (see http://sourceforge.net/projects/nocc/ )was
successfully doing it. I guess the syntax for imap_open isn't as
flexible as it used to be. My guess is that they've fixed NOCC in
later versions and that's why no one else seems to be having this
problem.
It's always a bummer when something that worked in a previous version
of PHP stops working in the current one. But, as it stands, I guess
that's not PHP's problem... this is a NOCC bug. Unfortunately, I've
got to go track down dozens of old NOCC installations (on lots of
different servers) and fix the syntax to the way the current PHP wants
to see it. :-(
------------------------------------------------------------------------
[2002-04-12 10:44:18] [EMAIL PROTECTED]
What if you use this instead:
$mbox = imap_open ("{localhost:110/pop3}INBOX", "user_id",
"password");
(straight from the manual)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16562
--
Edit this bug report at http://bugs.php.net/?id=16562&edit=1