|
Posted by Ruben van Engelenburg on 08/07/06 13:53
qccitchy@gmail.com wrote:
>
> I have tried the basic syntax...
> $mbox = imap_open ("{mail.mydomain.com:110/pop3}INBOX",
> "user@mydomain.com", "password");
>
> Warning: imap_open() [function.imap-open]: Couldn't open stream
> {mail.mydomain.com:110/pop3}
You're saying you tried telnetting to the server with the same user
credentials and that it worked. However I've been trying to reproduce
this for you and the only way to reproduce your exact error is
specifying either the wrong username or password.
When I specify the right username and password everything works fine,
but as soon as I change either the username or the password into
something invalid I get the error:
Warning: imap_open() [function.imap-open]: Couldn't open stream
{my.mailhost.com:110/pop3}INBOX in pop.php on line 2
So I'd really check this once again if I were you.
Also you could try specifying the third parameter to imap_open setting
it to OP_DEBUG, if it's something else than the username or password it
should output debug messages.
HTH.
Ruben.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|