HOME
PRODUCTS
RUN MY BACKGROUND
CONTACT US
if($_POST['hdnSubmit'] == "submit") { include_once('portal/Connections/dbc.php'); include_once('portal/includes/common.php'); include_once('portal/includes/constants.php'); include_once('portal/includes/clsPhpmailer.inc.php'); $common = new Common(); $msgMessage = file_get_contents("portal/includes/emails/general_email_template.php"); $mail_content = "
Contact Details
Name:
".ucwords($_POST['txtFname'].' '.$_POST['txtLname'])."
Company:
".ucwords($_POST['txtCompanyName'])."
Email:
".$_POST['txtEmail']."
Phone Number:
".trim($_POST['phone1_a'].'-'.$_POST['phone1_b'].'-'.$_POST['phone1_c'],'-')."
Comments:
".ucfirst($_POST['txtComment'])."
"; # replace the path of images and css $msgMessage = str_replace("ROOT_DIR",constant('SITE_PATH'),$msgMessage); $msgMessage = str_replace("CSS_PATH",constant('SITE_PATH'),$msgMessage); $msgMessage = str_replace("URL",$urlText,$msgMessage); $msgMessage = str_replace("EMAIL_CONTENT",$mail_content,$msgMessage); # set the email subject, to email, from email parameters $emailSQL = "SELECT * FROM site_email_settings WHERE email_id='".CONTACTUS_EMAIL_ID."' "; $rsEmail = $common->db_query($emailSQL); $rwEmail = $common->db_fetch_assoc($rsEmail); $strTo = "<".$rwEmail['email_address'].">"; //$strTo = "
"; $strSubject = " New enquiry e-mail from : ".ucwords($_POST['txtFname'].' '.$_POST['txtLname']); if(trim($msgMessage)!='') { $Mail = new PHPMailer(); $Mail->Priority = 3; $Mail->From = 'Hurman Notifications'; $Mail->FromName = 'notifications@hurman.com'; $Mail->AddAddress($strTo); $Mail->Subject = $strSubject; $Mail->Body = $msgMessage; $Mail->IsHTML(true); $a = $Mail->Send(); } ?>
Thank You. We have received your request.
} ?>
Fields Marked With
Orange (
*
)
Are Mandatory.
First Name
*
:
Last Name
*
:
Company:
Email
*
:
Phone Number:
Ext:
Comments
*
:
Hurman Management Services
800-865-8652
Tel
800-571-0577
Fax
30955 Northwestern Hwy.
Farmington Hills, MI 48334
All Content Copyright © 2008 HURMAN
A Safenet Corporation Company.
800-865-8652
Tel
800-571-0577
Fax
Hurman Management Services
30955 Northwestern Hwy.
Farmington Hills, MI 48334