You are here: Re: IMAP_OPEN problems « All PHP « IT news, forums, messages
Re: IMAP_OPEN problems

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация