if(isset($_POST['hdnSubmit']) && $_POST['hdnSubmit']=="submit")
{
//$SendToEmail = "manpreet.kaur@parsoftwares.com";//$emailaddress; ## Your Email Address
$SendToEmail = "romeo@romeorealty.com";
$yoursubject = "Contact Form"; ## The Email Subject Line
$EmailFooter = "
Kind Regards
";
## Send the Email to you ....
$yoursubject = "$yoursubject";
$emailtext = "
-----------------------------------------------------------------------------
".$yoursubject."
-----------------------------------------------------------------------------
".$_POST['txt_name']." has visited your website and would like you to contact.
The details they entered on your website is:
Name: ".$_POST['txt_name']."
Email: ".$_POST['txt_email']."
Phone: ".$_POST['txt_phone']."
Comments: ".$_POST['txtar_comments']."
Kind Regards";//YourName." Online Enquiry Form".$YourWebsiteURL."
$yoursubject = stripslashes($yoursubject);
$emailtext = stripslashes($emailtext);
$header="From: ".$_POST['txt_email']."\n";
$header.="Content-type: text/html\n";
$strReturnVal = @mail("$SendToEmail", $yoursubject, $emailtext, $header); ## Email Sent
if($strReturnVal==true)
{
$strMessage = "Contact form submitted successfully.";
}
}
?>
ROMEO REALTY
include "topbanner.php"; ?>
Thanks for visiting ROMEO REALTY.COM! My contact information is below. Please do not hesitate to contact me! You can also fill in the form below to send me an instant message, which will assist me in finding you the perfect home. Again, thanks for your interest, and I hope to hear from you soon!