Jump to content

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 ( 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?
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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.