I have a coupon. I started with a html form, where folks fill in their name, email and phone. When they click on submit, they are taken to a .php results page that shows them what they filled in. They are to print the page and bring it to us to get the coupon value. All works fine. I also have a call in the php where I also want the filled in info to be emailed to me (Name, Email and Phone). I have tried every way I can possibly think of to get all results emailed to me.
I do receive an email which states their email and the subject.
However, the body is suppose to have their name, email and phone.
This is the php code I have:
<?php
//Declare the variables
$name = $POST[Name];
$email = $POST[Email];
$phone = $_POST[Phone];
mail("info@rmsautocare.com", "Certificate from RMS", $mailheaders, $message);
//Contents of form
$Name=$POST['Name'];
$Email=$POST['Email'];
$Phone=$_POST['Phone'];
?>
<?php print $Name; ?>
<?php print $Email; ?>
<?php print $Phone; ?>
Also, in the email I receive it states in the from line (unpriveleged user).
Does anyone see what I doing wrong?
Help please, please!!