tfoster Posted May 28, 2010 Share Posted May 28, 2010 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! Quote Link to comment https://forums.phpfreaks.com/topic/203224-smtp-authentication-from-remote-website-fsockopen-connection-refused/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.