PHP Warning: mail(): Found numeric header : <p>I am using following script to send email through PHP. However, I am getting error <code>"PHP Warning:  mail(): Found numeric header (4) in /home/....public_html/.../sendemail.php on line 16"</code> Any help please.</p>

<p><strong>PHP Script</strong></p>

<pre><code>&lt;?php
$name       = @trim(stripslashes($_POST['name'])); 
$from       = @trim(stripslashes($_POST['email'])); 
$subject    = @trim(stripslashes($_POST['subject'])); 
$message    = @trim(stripslashes($_POST['message'])); 
$to         = 'xxxxx@xmail.com';

$headers   = array();
$headers[] = "MIME-Version: 1.0";
$headers[] = "Content-type: text/plain; charset=UTF-8";
$headers[] = "From: {$name} &lt;{$from}&gt;";
$headers[] = "Reply-To: &lt;{$from}&gt;";
$headers[] = "Subject: {$subject}";
$headers[] = "X-Mailer: PHP/".phpversion();

mail($to, $subject, $message, $headers);
die;
</code></pre>
