电邮表格不发电子邮件[关闭]

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?

it's a Sample for mail() And Works good:

        $to ='Info@sample.com';
        $message = '<a>Hellow</a>';
        $subject ='Hello world';
$headers = "MIME-Version: 1.0" . "
";
$headers .= "Content-type:text/html;charset=UTF-8" . "
";
$headers .= "From: <sender@email.com>" . "
";
$mail_sent=@mail($to,$subject,$message,$headers);
echo $mail_sent ? "Success" : "Error";

if this sample not working , Call to Your server Administrator For check Server...