success): //contact form submission code $fname = !empty($_POST['fname'])?$_POST['fname']:''; $lname = !empty($_POST['lname'])?$_POST['lname']:''; $email = !empty($_POST['email'])?$_POST['email']:''; $company = !empty($_POST['company'])?$_POST['company']:''; $topic = !empty($_POST['topic'])?$_POST['topic']:''; $message = !empty($_POST['message'])?$_POST['message']:''; $to = 'orders@genlantis.com'; $subject = 'Contact from FirstResponder'; $htmlContent = "

Contact details

First Name: ".$fname."

Last Name: ".$lname."

Email: ".$email."

Company: ".$company."

Topic: ".$topic."

Message: ".$message."

"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From:'.$name.' <'.$email.'>' . "\r\n"; //send email @mail($to,$subject,$htmlContent,$headers); $succMsg = 'Thank you for contacting FirstResponder'; else: $errMsg = 'Robot verification failed, please try again.'; endif; else: $errMsg = 'Please verify that you are a human.'; endif; else: $errMsg = ''; $succMsg = ''; $fname = ''; $lname = ''; $company = ''; $topic = ''; $email = ''; $message = ''; endif; ?> First Responder Sterilizer - Contact

Contact Us