if (@$_POST['Send']=="Send")
{
$name=$_POST['name'];
$email=$_POST['email'];
$subject = $name. " Recommends This Site!";
//This is the body section of the email and can be substituted for your message
$message= "Hi,
" .$name. " thinks you might like to visit our website :
http://www.bulgarianrealestateonline.com
Note: This message was not sent unsolicited. It was sent through a form located at http://www.bulgarianrealestateonline.com. If you believe this message was received on error, please disregard it.
";
$headers = 'From: info@bulgarianrealestateonline.com' . "\r
" . 'Reply-To: info@bulgarianrealestateonline.com' . "\r
" . 'X-Mailer: PHP/' . phpversion();
mail($email, $subject, $message, $headers);
echo "Thank you";
}
?>