The Koti Village Resort ,Contact Form!
 
Contact Details
Name: '.$from_fullname.'
Email: '.$from_email.'
Contact no. : '.$from_phone.'
'; //Set up the email headers $headers = "From: $from_fullname <$from_email>\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "Message-ID: <".time().rand(1,1000)."@".$_SERVER['SERVER_NAME'].">". "\r\n"; if($from_fullname == "") { $submission_status = '
Please enter your fullname in the required field to proceed. Thanks.
'; } elseif($from_email == "") { $submission_status = '
Please enter your email address in the required email field to proceed.
'; } elseif(!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/", $from_email)) { $submission_status = '
Sorry, your email address is invalid. Please enter a valid email address to proceed. Thanks.
'; } elseif($email_subject == "") { $submission_status = '
Please enter the subject of your message in the required field to proceed.
'; } elseif($from_phone == "") { $submission_status = '
Please enter your phone in the required field to proceed. Thanks.
'; } elseif($security_code == "") { $submission_status = '
Please enter the security code in its field to send us your message. Thanks.
'; } elseif(!isset($_SESSION['vpb_captcha_code'])) { $submission_status = '
Sorry, the security code you provided was incorrect, try again.
'; } else { if(empty($_SESSION['vpb_captcha_code']) || strcasecmp($_SESSION['vpb_captcha_code'], $_POST['vpb_captcha_code']) != 0) { //Note: the captcha code is compared case insensitively. If you want case sensitive match, update the check above to strcmp() $submission_status = '
Sorry, the security code you provided was incorrect, try again.
'; } else { $vasplus_mailer_delivers_greatly = @mail($to_email, $email_subject, $message, $headers); if ($vasplus_mailer_delivers_greatly) { //Displays the success message when email message is sent $submission_status = "
Congrats $from_fullname, your email message has been sent successfully!
We will get back to you as soon as possible. Thanks.
"; } else { //Displays an error message when email sending fails $submission_status = "
Sorry, your email could not be sent at the moment.
Please try again or contact this website admin to report this error message if the problem persist. Thanks.
"; } } } } ?> Hotel Black Rose

Send Us Message

Our Address

  • Address
    Hotel Black Rose
    Vill. Moonger, PO Kiar Koti Teh. & Distt. Shimla-171006 H.P.
  • Email
    hotelblackrose@gmail.com
  • Phone
    (+91) 8580855465, (+91) 9816749143