$blnSend = true;
if ((!isset($_REQUEST["id"])) || (!isset($_REQUEST["submitmail"]))) {
$blnSend = false;
} else if (($_REQUEST["id"] != "Contact Us") || ($_REQUEST["submitmail"] != "yes")){
$blnSend = false;
} //end if
if ($blnSend) {
$strToEmail = $strFromEmail = "enquiries@ppsimtech.com ";
$strSubject = "Enquiry from PP Simtech Webpage - Contact Us";
$strCrLf = chr(13) . chr(10);
$strBody = "";
$strBody .= "Nature of enquiry: " . $_REQUEST["Nature"] . $strCrLf;
$strBody .= $strCrLf;
$strBody .= "Name: " . $_REQUEST["Name"] . $strCrLf;
$strBody .= "Position: " . $_REQUEST["Position"] . $strCrLf;
$strBody .= $strCrLf;
$strBody .= "Company Name: " . $_REQUEST["CompanyName"] . $strCrLf;
$strBody .= "Company Address: " . str_replace($strCrLf, ", ", $_REQUEST["CompanyAddress"]) . $strCrLf;
$strBody .= $strCrLf;
$strBody .= "Phone: " . $_REQUEST["Phone"] . $strCrLf;
$strBody .= "Email: " . $_REQUEST["Email"] . $strCrLf;
$strBody .= $strCrLf;
$strBody .= "Comments: " . $strCrLf .$_REQUEST["Enquiry"] . $strCrLf;
$strBody .= $strCrLf;
//Send the email
SendEmail($strToEmail, $strFromEmail, $strSubject, $strBody, "Text");
} //end if
?>
PP SimTECH / Risk Based Inspection / Contact Us
|
|
|
|
|
|
Contact PP SIMTECH
PP SIMTECH Solutions Limited
Enterprise Centre Buildings
Washington Street
Bolton
BL3 5EY
United Kingdom.
Telephone: +44 (0)1204 36 56 56 Fax: +44 (0)1204 53 59 95 Email:
enquiries@ppsimtech.com
|
|