I have made a contact form (php) and a send.php as well and when I get an email all I see is the following:
A visitor to your site has sent the following email address to be added to your mailing list.
Email Address:
Here is my form and send.php script can you please help me
thank you
Louie
contact form:
email address:
Leave this field email-address blank:
Homepage:
Leave this field homepage blank:
URL:
Leave this field url blank:
Comment:
Leave this field comment blank:
Name*: | |
Email Address*: | |
Phone number*: | |
Question or Comment: | |
$to = “[email protected]”;
$subject = “elegantawards - web site”;
$headers = “From: $email\n”;
$message = "A visitor to your site has sent the following email address to be added to your mailing list.\n
Email Address: $email";
$user = “$email”;
$usersubject = “Thank You”;
$userheaders = “From: [email protected]\n”;
$usermessage = “Thank you for subscribing to our mailing list.”;
mail($to,$subject,$message,$headers);
mail($user,$usersubject,$usermessage,$userheaders);
?>
Thank you for contacting Elegant Awards Timmins. We will respond as soon as possbile.
Sincerely, Bill and Rachel |