Jump to content

SMTP Authentication from Remote Website: fsockopen connection refused


Recommended Posts

Hi All,

 

I am trying to authenticate with our internal Exchange 2007 server to send emails from our externally hosted website.  I am using:

 

fsockopen($host='webmail.hostname.com',$port=25,$errno,$errstr,$timeout=5);

 

The connection is continually refused.  HOWEVER, I am able to open a telnet connection on port 25 to webmail.hostname.com.  I'm sure there are multiple possible points of failure here, but I'm not sure where to start.  Does anyone have any ideas what could be causing this?

 

Thanks for any help you can offer!

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.