GoDaddy php mail() will not submit
<p>For starters, I don't use StackOverflow very often, so please, bear with me.</p>

<p>Anyway, I am working with a client to build a simple PHP contact form. The problem is that it is not submitting. Is there something that is missing? We are currently using GoDaddy for hosting.</p>

<pre><code>&lt;form id="main-contact-form" class="contact-form" name="contact-form" method="post" action="&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;" role="form"&gt;
    &lt;div class="row"&gt;
        &lt;div class="col-sm-5"&gt;
            &lt;div class="form-group"&gt;
                &lt;input type="text" name="name" class="form-control" required="required" placeholder="First Name"&gt;
            &lt;/div&gt;
            &lt;div class="form-group"&gt;
                &lt;input type="text" name="surname" class="form-control" required="required" placeholder="Surname"&gt;
            &lt;/div&gt;
            &lt;div class="form-group"&gt;
                &lt;input type="text" name="email" class="form-control" required="required" placeholder="Email address"&gt;
            &lt;/div&gt;
            &lt;div class="form-group"&gt;
                &lt;button type="submit" name="submit" class="btn btn-primary btn-lg"&gt;Send Message&lt;/button&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="col-sm-7"&gt;
            &lt;textarea name="message" id="message" required="required" class="form-control" rows="8" placeholder="Message"&gt;&lt;/textarea&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/form&gt; 


&lt;?php
if(isset($_POST['submit'])){
    $headers = "From: ".$_POST['email']."" . "\r\n";
    //$body = $_POST['name']."&lt;br&gt;".$_POST['surname']."&lt;br&gt;".$_POST['message']."&lt;br&gt;"; 
    $body = $_POST['name']."&lt;br&gt;".$_POST['surname']."&lt;br&gt;".$_POST['message']."&lt;br&gt;"; 
    mail("xxxx@gmail.com", "New Inquiry", $body, $headers);
    echo $_POST['email'];
}
?&gt;
</code></pre>

<p>Thanks in advance.</p>