\n";
$headers .= "Reply-To: $eMail \r\n";
$headers .= "X-Mailer: PHP/". phpversion();
$headers .= "X-Priority: 3 \n";
$headers .= "MIME-version: 1.0\n";
$headers .= "Content-Type: text/html; charset=UTF-8\n";
$msg="Dear $adminName,\n\n
You have received an enquiry at $websiteName. Please find below the details:\n\n
";
if ($nature!="") {
$msg.="\n\n
Nature of Business : $nature";
}
if ($requirements!="") {
$msg.="\n\n
Specific/customized requirements : $requirements";
}
if ($quantity!="") {
$msg.="\n\n
Estimated Quantity : $quantity";
}
if ($compName!="") {
$msg.="\n\n
Company Name : $compName";
}
if ($contactPerson!="") {
$msg.="\n\n
Contact Person : $contactPerson";
}
if ($email!="") {
$msg.="\n\n
Email ID : $email";
}
if ($counCode!="") {
$msg.="\n\n
Phone No. : $counCode $areaCode $phoneNo";
}
if ($faxCounCode!="") {
$msg.="\n\n
Fax : $faxCounCode $faxArCode $faxNo";
}
if ($faxCounCode!="") {
$msg.="\n\n
Fax : $faxCounCode.$faxArCode.$faxNo";
}
if ($address!="") {
$msg.="\n\n
Street Address : $address";
}
if ($cityState!="") {
$msg.="\n\n
City/State : $cityState";
}
if ($zipCode!="") {
$msg.="\n\n
Zip/Postal Code : $zipCode";
}
if ($country!="") {
$msg.="\n\n
Country : $country";
}
$msg.="\n\n
Comments :
".nl2br($Comments)."";
@mail($adminEmail1,$subject,$msg,$headers);
$toEmail=$email;
$subject="Your Enquiry at $websiteName";
$headers = "From: $adminName<$adminEmail1> \n";
$headers .= "Reply-To: $adminEmail \r\n";
$headers .= "X-Mailer: PHP/". phpversion();
$headers .= "X-Priority: 3 \n";
$headers .= "MIME-version: 1.0\n";
$headers .= "Content-Type: text/html; charset=UTF-8\n";
$msg="Dear ".$ContactPerson."\n\n
Thanks for sending us an Enquiry at $websiteName \n\n
We will get in touch with you shortly.\n\n
Thanks\n\n
$websiteName";
#echo $msg;
#exit;
@mail($toEmail,$subject,$msg,$headers);
$_SESSION['session_message']="Your Enquiry has been submitted successfuly.";
header("location:thanks.htm");
exit;
}
}
?>
include("header.php");?>
include("left.php");?>
| Home » Enquiry Form |
 |
Enquiry Form |
| |