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?
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
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