title: Not sending email from form
body: <p>I am just trying to make a script to send results from a form to me email. It WAS working but now its not even sending an email. Can anyone spot why?? thanks!! I have gone through this 100 times and I can not see what is wrong...</p>
  
  <p>`
  
  <pre><code>/* Subject and Email Variables */
  
  $emailSubject = 'Membership Submission from Form';
  $webMaster = 'testemail@gmail.com';
  
  /* Gathering Data Variables */
  
  $nameField = $_POST['name'];
  $membershipField = $_POST['membership'];
  $addressField = $_POST['address'];
  $cityField = $_POST['city'];
  $provinceField = $_POST['province'];
  $postalcodeField = $_POST['postalcode'];
  $telhomeField = $_POST['telhome'];
  $telcellField = $_POST['telcell'];
  $telofficeField = $_POST['teloffice'];
  $emailField = $_POST['email'];
  $commentsField = $_POST['comments'];
  
  $body = &lt;&lt;&lt;EOD
  Name: $name &lt;br&gt;
  Membership Type: $membership &lt;br&gt;
  Address: $address &lt;br&gt;
  City: $city &lt;br&gt;
  Province: $province &lt;br&gt;
  Postal Code: $postalcode &lt;br&gt;
  Tel Home: $telhome &lt;br&gt;
  Tel Cell: $telcell &lt;br&gt;
  Tel Office: $teloffice &lt;br&gt;
  Email: $email &lt;br&gt;
  Comments: $comments &lt;br&gt;
  EOD;
  
  
  $headers = "from: $email\r\n";
  $headers .= "Content-type: text/html\r\n";
  $success = mail ($webMaster, $emailSubject, $body, $headers);
  
  /* Results rendered as html */
  
  $theResults = &lt;&lt;&lt;EOD
  
  EOD;
  echo "$theResults";
  
  
  ?&gt;` 
  </code></pre>