I'm trying to implement contact form to my website and it isn't working. I'm trying to do it by this tutorial. I changed the $myemail variable to my email address and tried it out. I get the "thank you" message but the email never comes.
I also checked comments on this tutorial and some people are saying it works and some are saying it never sends an email. I also checked the code myself very carefully and as far as I know it SHOULD send the email.
It successfully gets email variables and uses them with:
mail($to,$email_subject,$email_body,$headers);
But why isn't it working?