I have scoured the forum looking for the help I needed, and I now have a form working on my page.
My question now is...
-----
<?PHP
$mailto = "playerzmediafilms******.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "testing tiffany's mail form";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
-----
This coding is sending the form data to MY EMAIL, but it is also placing MY EMAIL as the FROM section of the email as well.
How do I get the form submission to come to inbox with the person who submitted the form's email address in the FROM box (so I can reply by simply hitting reply?
Thank you for any help.
~Slim~
My question now is...
-----
<?PHP
$mailto = "playerzmediafilms******.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "testing tiffany's mail form";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
-----
This coding is sending the form data to MY EMAIL, but it is also placing MY EMAIL as the FROM section of the email as well.
How do I get the form submission to come to inbox with the person who submitted the form's email address in the FROM box (so I can reply by simply hitting reply?
Thank you for any help.
~Slim~
Comment