include("sendmail.php");
$msg = $_GET["msg"];
if(isset($_POST["submit"]))
{
$companyname = $_POST["companyname"];
$contactperson = $_POST["contactperson"];
$address = $_POST["address"];
$email = $_POST["email"];
$phoneno = $_POST["phoneno"];
$mobileno = $_POST["mobileno"];
$comments = $_POST["comments"];
$emailcontent = ""."
"."
"."
";
$emailcontent .="";
$emailcontent .= "Dear Admin,
|
";
$emailcontent .=" Company Name: ".$companyname." |
";
$emailcontent .=" Contact Person: ".$contactperson." |
";
$emailcontent .=" Address: ".$address." |
";
$emailcontent .=" E-mail Id: ".$email." |
";
$emailcontent .=" Phone No.: ".$phoneno." |
";
$emailcontent .=" Mobile No.: ".$mobileno." |
";
$emailcontent .="Comments: ".$comments." |
";
$emailcontent.="
";
$subject = "Recieved a New Enquiry Information";
$to = "sunrise_ind2001@yahoo.com";
$from = $email;
SendHTMLMail($to,$subject,$emailcontent,$from);
header("location: feedback.php?msg=1");
}
?>
Welcome to SUNRISE