title: Sending mail using PHP issue
body: <p>Having an issue being able to send mail using PHP I have looked through my code and can't find where I'm going wrong. Edited with my html instered.</p>
  
  <pre><code>&lt;?php
  if (isset($_POST['primaryemail'])){
      $first_name = $_POST['first_name'];
      $phone_number = $_POST['phone_number'];
      $phone_numbertwo = $_POST['phone_numbertwo'];
      $primaryemail = $_POST['primaryemail'];
  
  
      if (!empty($primaryemail)) {
          $to = 'testemail@gaming.com';
          $subject = 'Jobsite Form Submitted';
          $body = "Submitted by: " . $first_name . "Phone number: " . $phone_number . "Secondary phone number: " . $phone_numbertwo;
          $headers = 'From:' . $primaryemail;
          mail($to, $subject, $body, $headers);   
      }
  }
  ?&gt;
  
  &lt;form name="jobsiteform" class="jobsiteform" method="POST" action=""&gt;
  &lt;h2&gt;Contact Information&lt;/h2&gt;
  &lt;h4&gt;Primary Contact Information&lt;/h4&gt;
  &lt;br&gt;
      &lt;label&gt;Full Name: &amp;nbsp;&lt;/label&gt;
      &lt;input type="text" name="first_name" id="first_name" maxlength="70" placeholder="First &amp; Last" required&gt;
      &lt;br&gt;&lt;br&gt;
      &lt;label&gt;Phone Number: &amp;nbsp;&lt;/label&gt;
      &lt;input type="text" name="phone_number" id="phone_number" class="phone" maxlength="13" placeholder="(xxx) xxx-xxxx" required&gt;
      &lt;br&gt;&lt;br&gt;
      &lt;label&gt;Secondary Phone Number: &amp;nbsp;&lt;/label&gt;
      &lt;input type="text" name="phone_numbertwo" id="phone_numbertwo" class="phone" maxlength="13" placeholder="Optional"&gt;
      &lt;br&gt;&lt;br&gt;
      &lt;label&gt;E-mail: &amp;nbsp;&lt;/label&gt;
      &lt;input type="email" name="email" maxlength="100" id="primaryemail" placeholder="e.g. first.last@domain.com" required&gt;
      &lt;br&gt;
  </code></pre>
  
  <p></p>