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 14:22

Ruben van Engelenburg wrote:
> 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}


Oh and also another debugging suggestion. I noticed there's also a
function imap_errors() which returns an array of imap errors that
occured during the pageview. If you do something like this:

$res = imap_open("{mail.mydomain.com:110/pop3}INBOX",
"user@mydomain.com", "password");

print_r(imap_errors());

You'll see if it actually was an authentication problem or something else.

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

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