If you use a form or script on your website that sends e-mail, but notice that it is not working, then here are some generic steps that might help you figure out what has gone wrong.
If you are not receiving messages submitted by the form:
Some general ideas are [though not a comprehensive list]:
You need to verify that your domain is pointed correctly to our server for your hosting account.
If The e-mail address you’re sending to is not one handled by WestHost, then it may be getting blocked by the remote location's mail servers.
If your MX Record is not pointed to WestHost you may need to select "Remote" under the MX Entry settings to make sure the server is checking the MX correctly to send out.
A simple php mail script looks like the following,
<?php
//syntax is mail(‘recipient’,' subject’, 'message’);
mail(‘user@domain.com’, ‘Test Message’,' This is a test and only a test);
?>
this is a simple php mail script and there are much more advanced things you can do with the mail function. The above function can also be used to test that PHP mail() is working. For more advanced usage of the mail function please see, http://php.net/manual/en/function.mail.php
No worries, Our experts are here to help.