problems with reading email with php

I'm attempting to connect to a pop3 server on netfirms in order to read

my emails via php.
When I execute the fsockopen function with mail.mydomain.com and port
110 - i get the error
Can't connect to Server. Error: 65 -- No route to host. However, I am

able to telnet to that ip/port.
I'm not sure where to go from here. Do I need to change a particular
setting in my php.ini file?
joe [ Fr, 26 Januar 2007 00:58 ] [ ID #1608130 ]

Re: problems with reading email with php

joe wrote:
> I'm attempting to connect to a pop3 server on netfirms in order to read
>
> my emails via php.
> When I execute the fsockopen function with mail.mydomain.com and port
> 110 - i get the error
> Can't connect to Server. Error: 65 -- No route to host. However, I am

Try to use the ip-number instead, could be that your php somehow failse the
DNS lookup.

Check also that you don't have any limitations for your php, you find that in
your php.ini.


--

//Aho
Shion [ Fr, 26 Januar 2007 10:03 ] [ ID #1609372 ]

Re: problems with reading email with php

"joe" <junkerxjoe [at] yahoo.com> wrote in message
news:1169769530.645429.57760 [at] j27g2000cwj.googlegroups.com...
> I'm attempting to connect to a pop3 server on netfirms in order to read
>
> my emails via php.
> When I execute the fsockopen function with mail.mydomain.com and port
> 110 - i get the error
> Can't connect to Server. Error: 65 -- No route to host. However, I am
>
> able to telnet to that ip/port.
> I'm not sure where to go from here. Do I need to change a particular
> setting in my php.ini file?

Make sure that your server allows outgoing connections to the SMTP server.

-Lost
-Lost [ Fr, 26 Januar 2007 20:00 ] [ ID #1609382 ]
PHP » alt.php » problems with reading email with php

Vorheriges Thema: Open Source replacement for cpanel's MySQL Databases other than myphpadmin?
Nächstes Thema: Binary-safe?