$msg="Name :\t$POST[F_name]\n";
$msg.="E-Mail :\t$POST[F_email]\n";
$to="myname@domainname.com";
$userfrom=$_POST[F_email];
$headers="From : $userfrom\r\n";
$headers.="Reply-To :$userfrom\r\n";
$Subject="Mail through form.";
mail($to,$Subject,$msg,$headers);
/* code ends here.
Is there any problem in above code.When i send the form data through this code.it shows name of 'name server' in my outlook express 'from' head.
Please help.
Thanks in advance.