Mail From header
<p>Could some one point out why isnt the From: header working? Instead I am receiving something like myhost@conf....</p>

<pre><code>&lt;?php


$send=$_POST['send'];

if ($send){


$to="example@hotmail.com";
$subject=$_POST['subject'];

$headers = 'From: webmaster@example.com';

$firstname=$_POST['firstname'];

$body=$_POST['message'];

$mailers_name=ucwords($firstname);

if (!mail($to,$subject,$body,$headers)) 
    {
        header("LOCATION: http://www.mysite.co.uk/success.php?none=not");

}else {

    header("LOCATION: http://www.mysite.co.uk/success.php?none=yes");

    }
}
?&gt;
</code></pre>
