I’m trying to set up an email form and seem to be having problems getting everything running right. Just wondering if anyone could help me out.
files are posted below:
<?php
/***************************************************\
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
\***************************************************/
$sendTo = "gavin@geneseephoto.com";
$subject = "GPS Web Contact Form";
$headers = "From: " . $_POST["name"] ." "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
?>
Thanks