Below is the php I wriote. the mail gets sent fine, but all the fields (name, phone, subject and comments) get jumbled into one long string in the body of the email. Thanks for looking:
$sendTo = "[email protected]";
$subject = “Contact Form MP”;
$headers = “From: " . $_POST[“name”] .” <" . $_POST[“email”] .">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-path: " . $_POST[“email”];
$message = $_POST[“comments”];
$body = “From: $name_field
E-Mail: $email_field
Phone: $phone_field
Subject: $subject_field
Message:
$comments_field”;
mail($sendTo, $subject, $headers, $message, $body);