phporcaffeine Posted September 13, 2006 Share Posted September 13, 2006 Anyone ever try to get php to bounce mail off of a MS Exchange server? Exchange will let php send mail that is all within the same domain ( someone@mydomain.com to something@mydomain.com) but it won't allow off domain mail ( someone@mydomain.com to somthing@earthlink.net).Anyone have any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/20677-mail/ Share on other sites More sharing options...
HuggieBear Posted September 13, 2006 Share Posted September 13, 2006 I'd imagine this is an exchange config issue, not a php issue, however, you could make sure you're using a decent set of headers.Google bought up a lot of results on this topic... [url=http://www.google.co.uk/search?hl=en&q=php+%2Bmail+%2Bexchange+%2Bheaders&meta=&btnG=Google+Search]php +mail +exchange +headers[/url]RegardsRich Quote Link to comment https://forums.phpfreaks.com/topic/20677-mail/#findComment-91447 Share on other sites More sharing options...
phporcaffeine Posted September 14, 2006 Author Share Posted September 14, 2006 For anyone that is interested in the fix:What I had to do was tell Exchange that the server running PHP was allowed to relay off the Exchange server. All php needs to do is relay, so once you allow it then everything should work.In order to add:Goto exchange system manager (Exchange 7 // Win 2K3) Then navigate to servers >> protocols >> SMTP Virtual Server and click the relay tab. Next add the machine ip address that has PHP on it. BE CAREFULE NOT TO ALLOW EVERYONE TO RELAY. "Deny relay except the list below" is what you want. Otherwise you'll be an open relay mail server and you'll be a SPAM host to the world. Quote Link to comment https://forums.phpfreaks.com/topic/20677-mail/#findComment-91742 Share on other sites More sharing options...
HuggieBear Posted September 14, 2006 Share Posted September 14, 2006 Thanks for posting back phpORcaffine.Huggie Quote Link to comment https://forums.phpfreaks.com/topic/20677-mail/#findComment-91743 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.