Hello anyone...
I have set a contact form on my committee page. Everything seems to work fine but the email doesn't come to my test email address. I have set up my own hotmail address just as a test. My email is dwyer.1961********.com. This is the script that I added to the beginning of a body on my thank you page. Any help with this would be much appreciated. Thank You in advance. Do I have to do anything with the brgc.biz email ?
Kevin
www.brgc.biz
<?PHP
$mailto = "dwyer.1961********.com";
$email = $HTTP_POST_VARS[email];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Contact Please";
$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);
?>
I have set a contact form on my committee page. Everything seems to work fine but the email doesn't come to my test email address. I have set up my own hotmail address just as a test. My email is dwyer.1961********.com. This is the script that I added to the beginning of a body on my thank you page. Any help with this would be much appreciated. Thank You in advance. Do I have to do anything with the brgc.biz email ?
Kevin
www.brgc.biz
<?PHP
$mailto = "dwyer.1961********.com";
$email = $HTTP_POST_VARS[email];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Contact Please";
$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);
?>
Comment