$message="";
if(isset($_POST['Submit']))
{
$name=$_POST['txt_name'];
$email="info@mteja.com";
$msg=$_POST['txta_msg'];
$phone=$_POST['txt_phone'];
$demail=$_POST['txt_email'];
$contact=$_POST['radio'];
$to1=$demail;
$to2=$email;
$from=$to1;
$body="From: ".$to1."
";
$body.="To: ".$to2. "
";
$body.="Name: ".$name."
";
$body.="Telephone Number: ".$phone. "
";
$body.="Please contact me by " .$contact. "
";
$body.=$msg;
$subject="Enquiry";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$from;
@mail($to2,$subject,$body,$headers);
if(@mail($to2,$subject,$body,$headers)){
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "thanks.php");
exit;}
else
$message = "Error While Sending Message";
}
?>
|
|||||||||||||||||||||||||||||||||||||||||
| "Committed to printing with integrity" | |||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Home :: About us :: Our Services :: Partnership :: Get Quotation :: Contact us |
|||||||||||||||||||||||||||||||||||||||||
©2007 Kijabe
Printing Press all rights reserved. Design by
leconnections |