Jump to content

[SOLVED] mail script works from command line but fails in browser


calmchess

Recommended Posts

I'm using php_pear to send mail....the script works from the command line but if i try to execute it through the webbrowser i get the following error.

 

 

Failed to connect to mail.mchsi.com:25 [sMTP: Failed to connect socket: fsockopen() [function.fsockopen]: unable to connect to mail.mchsi.com:25 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) (code: -1, response: )]

 

I suspect it has something to do with my php configuration but I don't know what to change....anybody have some advice?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.