|
feedback
if($id=="sendmail"){
require_once("con_array.php");
global $country;
$To="narendra_k2@yahoo.com";
//$To="info@anilinepharmaceuticals.com";
$CC="sales@anilinepharmaceuticals.com, neil@anilinepharmaceuticals.com";
$from=$email;
$subject="Enquiry Received At Aniline Pharma";
$msg ="Details of Enquiry Received At Aniline Pharma
";
$msg .="Name: $cname
";
$msg .="Company Name: $com_name
";
$msg .="Designation: $designation
";
$msg .="EmailID: $email
";
$msg .="Address: $address
";
$msg .="City/State: $city
";
$msg .="Country: $country[$vcountry]
";
if(strlen($pincode)){
$msg .="Pin Code: $pincode
";
}
if(strlen($fax)){
$msg .="Fax: $fax
";
}
if(strlen($pincode)){
$msg .="Pin Code: $pincode
";
}
$msg .="Phone: $phone
";
$msg .="Specific Requirement / Feedback: $comment
";
mail("$To", "$subject", "$msg","From: $from\r\n"."cc:$CC"."Content-Type: html; charset=iso-8859-1\n"."X-Mailer: PHP/" . phpversion());
//client...
$to=$email;
$from1="sales@anilinepharmaceuticals.com";
$subject1="Thanks For Sending Feedback/Requirement";
$msg1="Dear $cname,
";
$msg1 .="Thanks for sending us an enquiry. We have received your Feedback/Requirements. We will get back to you soon with complete details about your Feedback or requirements.
";
$msg1 .="Thanks
";
$msg1 .="Aniline Pharmaceuticals, Inc ";
$msg1 .="PO Box 84472, ";
$msg1 .="Seattle, Wa, USA ";
$msg1 .="Mobile 098124-5772";
mail("$to", "$subject1", "$msg1","From: $from1\r\n"."Content-Type: text/html; charset=iso-8859-1\n"."X-Mailer: PHP/" . phpversion());
?>
| Your Enquiry has been sent successfully...
|
| |
}
?>
| * are required fields.
|
|