Hi Guys,
client id 19735
I am having problems with my form. When someone enters details on the form and hits the submit button, they get the thank you page but I do not receive an email. I have tried several different email addresses but none of them work.
I have added the php code, which I copied from the tutorial, for you to look at
<?PHP
$mailto = "nimrod945******.com.au.";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "information form submission";
$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);
?>
Any help greatly appreciated
client id 19735
I am having problems with my form. When someone enters details on the form and hits the submit button, they get the thank you page but I do not receive an email. I have tried several different email addresses but none of them work.
I have added the php code, which I copied from the tutorial, for you to look at
<?PHP
$mailto = "nimrod945******.com.au.";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "information form submission";
$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);
?>
Any help greatly appreciated
Comment