if($_GET["formFilledStatus"]=="1" && $_GET["statusHotel"]=="T")
{
$name = $_GET['txtName'];
$contactperson = $_GET['txtcontactperson'];
$address = $_GET['txtaddress'];
$email = $_GET['txtEmail'];
$phone = $_GET['txtPhone'];
$city = $_GET['txtCity'];
$country = $_GET['txtcountry'];
$pi = $_GET['txtpi'];
$comments = $_GET['txtComments'];
{
$to = 'sales@storageking.in';
$subject = 'Business Enquiry - storageking.in';
$message = "
Company Name:- $name
Contact Person:- $contactperson
Address:- $address
Email:- $email
Mobile:- $phone
City:- $city
Country:- $country
Product Interested:- $pi
Requirements:- $comments
";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From:'. $email. "\r\n";
$mailStatus=mail($to, $subject, $message, $headers);
}
}
?>