sending a mail with php dont give the expected results
<p>I have this form which I used all over my site and it's working fine but when I used extra data into my content it stop sending even it don't display the message that there was an error or any other message</p>

<p>this is the form it self</p>

<pre><code>&lt;form action="" method="post"&gt;
&lt;table width="683" border="0" cellspacing="0" cellpadding="10"&gt;
  &lt;tr&gt;
    &lt;td width="96"&gt;Full Name&lt;/td&gt;
    &lt;td colspan="4"&gt;&lt;label for="textfield"&gt;&lt;/label&gt;
    &lt;input type="text" name="fname" id="fname" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;E-mail&lt;/td&gt;
    &lt;td colspan="4"&gt;&lt;input type="text" name="email" id="email" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Company&lt;/td&gt;
    &lt;td colspan="4"&gt;&lt;input type="text" name="company" id="company" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="5"&gt;How do you rate our services and products:&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td width="120"&gt;&lt;input type="radio" name="s_rate" id="Poor" value="Poor" /&gt;
Poor &lt;/td&gt;
    &lt;td width="120"&gt;&lt;input type="radio" name="s_rate" id="Good" value="Good" /&gt;
Good &lt;/td&gt;
    &lt;td width="120"&gt;&lt;input type="radio" name="s_rate" id="Very_Good" value="Very Good" /&gt;
Very Good &lt;/td&gt;
    &lt;td width="127"&gt;&lt;input type="radio" name="s_rate" id="Excellent" value="Excellent" /&gt;
Excellent&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="5"&gt;&lt;p&gt;How did you know about us?&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="know" id="Google" value="Google" /&gt;
Google&lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="know" id="E_mail" value="E-mail" /&gt;
E-mail&lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="know" id="A_friend" value="A friend" /&gt;
A friend&lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="know" id="Social_Media" value="Social Media" /&gt;
Social Media&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td colspan="2"&gt;&lt;input type="radio" name="know" id="advertisement" value="An advertisement at a  web site" /&gt;
An advertisement at a  web site&lt;/td&gt;
    &lt;td colspan="2"&gt;&lt;input type="radio" name="know" id="Old_customer" value="I am an old customer" /&gt;
    I am an old customer&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="5"&gt;Would you recommend us to your friends and colleagues:&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="recommend" id="Yes" value="Yes" /&gt;
Yes &lt;/td&gt;
    &lt;td&gt;&lt;input type="radio" name="recommend" id="No" value="No" /&gt;
No&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="5"&gt;Do you have any suggestions to make us improve our services?&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td colspan="4"&gt;
    &lt;textarea name="message" id="message" cols="45" rows="5"&gt;&lt;/textarea&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;input type="submit" name="Submit" id="button" value="Submit" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;
</code></pre>

<p>and this is my php code</p>

<pre><code>&lt;?php
      if(isset($_POST['submit'])){
          echo "done";

            $name = $_POST['fname'];
            $email = $_POST['email'];
            $company = $_POST['company'];
            $s_rate = $_POST['s_rate'];
            $know = $_POST['know'];
            $recommend = $_POST['recommend'];
            $message = $_POST['message'];

            $recipient = 'johnef_sh@hotmail.com'; 
            $subject="feedback"; 

            $content = "New feedback \n From: ".$name.",\n Email: ".$email.", \n Company: ".$company.", \n He rate our services as: ".$s_rate.", \n He know about us from: ".$know.", \n Would he recommend us to his friends: ".$recommend.", \n He's suggestions was: ".$message; 
            $headers = 'From: feedback@hostnile.com' . "\r\n" .
    'Reply-To: johnef_sh@hotmail.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();
    $retval=mail($recipient, $message, $content, $headers);

   if($retval==true)
   {
      echo "&lt;span style='color:green; font-size:16px; margin-left:35px; font-family:Arial, Helvetica, sans-serif;'&gt;Message sent successfully...&lt;/span&gt;";
   }
   else
   {
      echo "&lt;span style='color:red; font-size:16px; margin-left:35px; font-family:Arial, Helvetica, sans-serif;'&gt;Message could not be sent...&lt;/span&gt;";
   }
}
?&gt;
</code></pre>

<p>now when I submit the form I return to the same page without any results 
the mail not sending anything and not even message.</p>

<p>the content is </p>

<pre><code>$content = "New feedback \n From: ".$name.",\n Email: ".$email.", \n Company: "
.$company.", \n He rate our services as: ".$s_rate.", \n He know about us from: "
.$know.", \n Would he recommend us to his friends: "
.$recommend.", \n He's suggestions was: ".$message;
</code></pre>

<p>does it make any different that I put many data in it.</p>

<p>Thanks and regards. </p>
