title: PHP mail function not sending
body: <p>I have a php script using the mail function I would just like to know if someone sees a problem with this script before I contact the sys admin as he will probably not answer for a while</p>
  
  <pre><code>$headers = 'MIME-Version: 1.0' . "\r\n";
  $headers.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  $rating=$_POST['Rate'];
  $subject= "review from website";
  $name=$_POST['lname'].", ".$_POST['name'];
  $from = $_POST['email'];
  $to ="email@gmail.com";
  $messageTo="BBComputers";
  $headers = "From: ".$from. "\r\n";
  $message = htmlspecialchars($_POST['comment']);
  $about = $_POST['product'];
  $date=date("n-j-y \a\\t g:ia\n");
  mail($to,$subject,$message,$headers);
  </code></pre>