I am doing a website which will have a pretty typical Contact Us page. It contains an email form
where the sender enters his name, email address and message. The form then reloads the page and a php routine which does some cursory checks, sets up the email and then sends it, using the PHP mail() function.
When testing it, the form successfully sent to two different email addresses, but when I set the
receiving address to the address my client wants, the message never arrives. I do not have any sort of routine to receive delivery error messages, so I cannot tell why it fails. The mail
function consistently indicates the mail was successfully sent.
I have successfully sent to this address using my personal email client (Outlook 2007) so I know the address is valid.
I have included the PHP code and HTML form code in the attached file.
How do I fix this? email-code.txt