php send mail form not working with emails on same domain [closed]

ぐ巨炮叔叔 提交于 2019-12-04 22:07:23
Aaronetics

Not sure if this was added since this post, but you can actually set this yourself in cPanel.

  1. Click on MX Entry Icon under email.
  2. Select the domain from the dropdown that has your form.
  3. Select Remote email exchanger
  4. Hit change.

Should you (or anybody) encounter this error in the future a simple phone call to Go Daddy will solve this issue. By default, Go Daddy's shared cPanel hosting is set to deliver local, not remote. If you have your email set anywhere besides cPanel's internal email accounts, the following test inside of your control panel will identify if you need to request remote email delivery:

In the email section of the cPanel main page select the option 'Email Trace' Type your domain email in the 'Recipient Email...' box and select 'Run Report'

If the output reads 'Blackhole' on the second line then you're configured for local delivery, contact their hosting support department and request the change to remote delivery. You'll be up and running within a few minutes if you mention having performed this test prior to calling.

Do you have you email configured on this domain. i.e. are you MX servers set locally or to another provider?

php mailer / cPanel will not check external DNS for it's own domain (unless you tell it to) when sending mail, it will simply send the mail to itself... If you are not configured locally on your server to receive mail, then you will not get the email.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!