Hello
We've been warned by the company that hosts our website that we have a non secure mail script on our server and our domain will be taken down if we don't do something about it. Since I don't know much about php and it's a php script, I was wondering if someone could tell me how to make it secure - this is the script that is executed:
<?
$ToEmail = "
[email protected]";
$ToName = "Our Company";
$ToSubject = "Web Site Enquiry Form";
$EmailBody = "Name: $name\nEmail: $email\nPhone Number: $telephone\nAddress: $address\nMessage: $message\n\n";
$EmailFooter="\n";
mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$name." <".$email.">");
header("Location: ok.htm");
?>
Much appreciated
Adam