still doesnt work…when i uncomment this line:
//$message = $_POST["message"];
and comment out the other three message lines it works fine.
what am i doing wrong?
<?php
$sendTo = "info@themovement.com";
$subject = "twm contact form";
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
// next include a Reply-To:
$headers .= "Reply-To: " . $_POST["email"];
// now we can add the content of the message to a body variable
//$message = $_POST["message"];
$message_ =_ $_POST["message"] ."
";
$message_.=_$_POST["company"] ."
";
$message_.= $_POST["phone"] ."
";
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>