Jump to content

Mail delivery failure on php mail() function


Drongo_III

Recommended Posts

Hi guys

 

I hope someone can help me with an php mail issue as server setup is something i dont know very much about.

 

I have a simple form on a client's website that sends its output via the php mail() function.

 

The website's domain is hosted externally. They have pointed the A and @ records to my server and their MX records are set elsehwere and point to an external mail server.

 

The issue is the form outputs works perfectly on my own email addresses but not on the client's email. At first i assumed my messages were getting spammed on the client's side but it has been confirmed that this is not the case.

 

When i check the zone file on my server it has a default mx record setup as "theirsite.com.". And when i check the 'email delivery route' in cpanel it tells me it's directing locally to theirsite.com.

 

I assume this is incorrect and it should actually be pointing externally. Am i right in thinking i need to setup the zone file to point at their external mail servers and this will correct the issue with delivering off the mail() function?

 

 

Any advice is very gratefully received!

 

Drongo

Link to comment
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.