PHP mail form delivers email with empty content

When I send a test message, all fields
come empty. Can someone help me with this?


//define the destination recipient of all the incoming mails here
$sendTo="[email protected]";


$headers = “From: “”.$name.”" <".$email.">
//$headers .= “To: <”.$sendTo.”>
$headers .= “Reply-To: <”.$email.”>
$headers .= “Return-Path: <”.$email.”>
$headers .= "MIME-Version: 1.0
$headers .= "Content-Type: text/HTML; charset=ISO-8859-1

if($name==""){ echo “result=please type the name.”;$error=1;exit(); }
if($email==""){ echo “result=please type the email.”;$error=1;exit(); }
if($subject==""){ echo “result=please type the subject.”;$error=1;exit(); }
if($message==""){ echo “result=please type the message.”;$error=1;exit(); }

$ok=mail($sendTo, $subject, $message, $headers);
if($ok)echo “result=message sent.”;else echo “result=message not sent.”;