I'm using the PHP mail()
function to send email from a contact form. The function returns true
so should be fine. But I'm not receiving the email.
I've seen posts that say you should always use the From and Reply-To headers in PHP mail to make sure it's delivered. I've tried various configs but nothing is working yet.
Is there any other way to debug the mail()
function?