<?php
$names = strip_tags($_POST["names"]);
$emails = strip_tags($_POST["e-mails"]);
$phones = strip_tags($_POST["phones"]);
$methods = strip_tags($_POST["methods"]);
$comment = strip_tags($_POST["comment"]);
$message = "<html><body>";
$message .= "$names<br>";
$message .= "Email: $emails<br>";
$message .= "Phone: $phones<br>";
$message .= "Contact Method: $methods<br />";
$message .= "Message: <br /><hr />$comment";
$message .= "</body></html>";
//this email is the email that shows up in the from collumn in the email
$headers = "From: Web Page Email <information@domain.com>\r\n";
$headers .= 'Content-type: text/html; charset=utf-8';
//this email is where the form is sent
mail("Customer Service <info@driveflexfuel.com>","Customer Questions",$message,$headers);
?>
Your question or comment has been sent.<br />
We will return your message as soon as posible.<br />
Most receive a message within 12 hours. <br />
Thank you for visiting www.abcdefg.com. <br />