Jump to content

mail


phporcaffeine

Recommended Posts

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 ( [email protected] to [email protected]) but it won't allow off domain mail ( [email protected] to [email protected]).

Anyone have any ideas?
Link to comment
https://forums.phpfreaks.com/topic/20677-mail/
Share on other sites

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]

Regards
Rich
Link to comment
https://forums.phpfreaks.com/topic/20677-mail/#findComment-91447
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/20677-mail/#findComment-91742
Share on other sites

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.