|
Posted by Joe on 08/07/06 22:24
"Ruben van Engelenburg" <ruben@NOSPAM.nl> wrote in message
news:44d74cc4$0$4525$e4fe514c@news.xs4all.nl...
> 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
Thanks for help Ruben. Very much appreciated.
I actually know now that my syntax for the imap_open function is ok.
I get the feeling it is my firewall/s. I can telnet my mail server from my
work machine (XP) and its ok, but it doesn't appear to be working from my
apach server machine (XP Pro). Says its connected and just sits there even
though I've disabled the machines firewall. Probably not for this group now,
but I'll keep working on it.
Thanks again.
Navigation:
[Reply to this message]
|