title: PHP Mail Headers Aren't Appearing
body: <p>I'm trying to build a simple contact form for a website, but the $headers section of the email isn't being sent properly. The email itself is being sent, but everything under the $headers selector is missing from the email. I've included both the php code and the form below, and I'm also aware that I haven't sanitized the code yet. I want to make sure the form works properly before I add anything else.</p>
  
  <pre><code>&lt;?php
  $to = "example@gmail.com";
  $subject = "Reply From Your Website: ".$_POST["subject"];
  $message = $_POST["message"];
  $headers = "From: ".$_POST["name"]."" . "\r\n" . "Reply To: ".$_POST["email"]."";
  mail($to,$subject,$message,$headers);
  ?&gt;
  
              &lt;table class="contact-form"&gt;
                  &lt;form method="post"&gt;
                      &lt;tr&gt;
                          &lt;td class="label"&gt;Name:&lt;/td&gt;
                          &lt;td class="input"&gt;&lt;input type="text" maxlength="40" name="name" required&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td class="label"&gt;Email:&lt;/td&gt;
                          &lt;td class="input"&gt;&lt;input type="email" maxlength="24" name="email" required&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td class="label"&gt;Subject:&lt;/td&gt;
                          &lt;td class="input"&gt;&lt;input type="text" maxlength="24" name="subject" required&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td class="label"&gt;Message:&lt;/td&gt;
                          &lt;td class="input"&gt;&lt;textarea rows="9" maxlength="1000" name="message" required&gt;&lt;/textarea&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&lt;/td&gt;
                          &lt;td&gt;&lt;input type="submit" value="Submit"&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/form&gt;
              &lt;/table&gt;
  </code></pre>