Why isn't my PHP contact form working?
<pre><code>&lt;?php
 $to = "myemail@gmail.com";
 $email = $_REQUEST['email'] ;
 $username = $_REQUEST['username'] ;
 $subject = "Application from" . $username;
 $headers = "From:" . $email;
 $reason = $_REQUEST['reason'] ;
 $sea = $_REQUEST['plant'] ;
 $body = $reason . "&lt;br/&gt;" . $sea ;
 if (mail($to, $subject, $body))
   print "Application sent. We will get back to you soon." ;
 else
   print "Something went wrong" ;
?&gt;
</code></pre>

<p>It always puts out Something went wrong and doesn't work. What am I doing wrong?</p>
