////////// Contact Form Submission - Start //////////
If($submit<>''):
If ($name ==''):
$feedback .= "Please enter your name.
";
EndIf;
If ($email ==''):
$feedback .= "Please enter your email.
";
EndIf;
If ($feedback ==''):
$email_from = "FROM: $email";
$email_to = "info@mountain-cabin-rentals.com";
$email_subject = "MOUNTAIN-CABIN-RENTALS.COM Cabin For Sale Form";
$email_content = "----- Cabin For Sale Request From MOUNTAIN-CABIN-RENTALS.COM -----
IP Address : ".$REMOTE_ADDR."
Browser Information: ".$HTTP_USER_AGENT."
Date: ".date( "m/d/Y", mktime())."
Heure: ".date( "H:i:s", mktime())."
Name : ".$name."
Email : ".$email."
Address : ".$address."
City : ".$city."
State : ".$state."
Zip : ".$zip."
Phone : ".$phone."
When are you looking to purchase? ".$when_purchase."
Number of Bedrooms ? ".$bedrooms."
Price Range : ".$price_range."
Reason For Purchase: ".$reason_purchase."
What Location Would You Prefer ? ".$location."
If other, please specify: ".$other_location."
Question/Comment:
".$comment."
";
mail($email_to, $email_subject, $email_content, $email_from);
$success = 1;
EndIf;
EndIf;
////////// Contact Form Submission - End //////////
?>
|
|
|
![]()
|
|
|
Home | Cabin Rentals | About Us | Contact Us | Subscribe |
|
Standard Business Hours:
(865) 675-4875 After Hours Hotline (24 hour help and reservations):(865) 675-9652 Cabin Rentals in the Great Smoky Mountains. Gatlinburg, TN • Pigeon Forge, TN • Sevierville, TN • Townsend, TN |