";
}
else
{
if ((trim($_POST['name']) == trim(" ")) || (trim($_POST['telephone']) == trim(" ")) || (trim($_POST['email']) == trim(" ")))
{
echo "Entries with (*) are mandatory.";
}
else
{
$sendto = "rahul@kreativindia.com"; // type the email id where this enquire form results will go
$subject = "Enquiry";
$message="Enquiry Form Details:-\n";
$message.="Name : ".$_POST['name']."\n";
$message.="Designation : ".$_POST['designation']."\n";
$message.="Company : ".$_POST['company']."\n";
$message.="Address : ".nl2br($_POST['address'])."\n";
$message.="Telephone : ".$_POST['telephone']."\n";
$message.="Fax : ".$_POST['fax']."\n";
$message.="Email Address : ".$_POST['email']."\n";
$txtComments = preg_replace("/(\015\012)|(\015)|(\012)/","
",$_POST['comment']);
$message.="Comments :". $txtComments;
$message.="\n\n";
//$message = "$realname, $email\n\n$feedback";
$headers = "From: ".$_POST['email']."\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "Return-Path: ".$_POST['email']."\n"; // Return path for errors
/* The following line is required for sending mail in html form */
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
//$headers .="bcc: $txtEmail";
mail($sendto,$subject,$message,$headers);
echo "Thank you. !
We will revert back to you shortly. ";
echo "
";
exit;
}
}
}
?>
Mayur Kitchen Sinks - Enquiry for stainless steel sinks, requirements
|
|
|
|
|
|
|
| |
|
|
|
Send
query for your Stainless steel sinks requirements > > |
|
|
|
|
|
| Site
Designed and Maintained by Kreativ
Infotech |
|
 |