How to Send Mail using mail function in PHP
$to = "reciever@gmail.com";
$subject = "Test Message";
$body = "Body of your message here you can use HTML too";
$headers = "From: Your Name\r\n";
$headers .= "Reply-To: info@yoursite.com\r\n";
$headers .= "Return-Path: info@yoursite.com\r\n";
$headers .= "X-Mailer: PHP5\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to,$subject,$body,$headers);
?