I am hoping that someone could help me with a current problem or perhaps some advice with trouble shooting this.
I have an HTML web page with a form that the person viewing can enter contact information to. It uses an html form to a sendmail.php file for processing, just using basic php code. The ISP specified that this was the only way it can be done on their infrastructure.
The email arrives but there is no information in there.
The code I am using is below, any help would be appreciated
Many Thanks
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
mail("service@yourturn.me.uk", "Register Interest Form Results", $REQUEST[message], "From: $REQUEST", "[email]-froot@yourturn.me.uk".$_REQUEST[email]);
$MESSAGE_BODY = "Name: ".$POST["name"]." ";
$MESSAGE_BODY .= "Email: ".$POST["email"]." ";
$MESSAGE_BODY .= "Phone: ".$POST["phone"]." ";
$MESSAGE_BODY .= "Company: ".$POST["company"]." ";
$MESSAGE_BODY .= "Jobtitle: ".$POST["jobtitle"]." ";
$MESSAGE_BODY .= "Besttime2call: ".$POST["besttime2call"]." ";
$MESSAGE_BODY .= "Howdidyouhear: ".$POST["howdidyouhear"]." ";
$boxes = '';
if (isset($POST['boxes']) && is_array($POST['boxes']))
$boxes = implode(', ', $POST['boxes']);
$MESSAGE_BODY .= "Options: ".$boxes;
$MESSAGE_BODY .= "Comment: ".nl2br($_POST["comment"])." ";
mail($ToEmail, $EmailSubject, $MESSAGE_BODY) or die ("Failure");
header( "Location: http://www.yourturn.me.uk/thankyou.html" );
?>
</body>
</html>