I,m about to give up on this BV. My website depends on my request information form working, but it does not. Followed tutorials to the letter and read 4 times. everything seems to work fine, but when I click "submit" and get the thank you page, I never get an email. I am using my email on the BV server, no, it is not in the "junk" email folder and yes, I believe the HTML is correct. Here it is. Cannot seem to get a straight answer from submitting a ticket:
<?PHP
$mailto = "sales@bulktvforbusiness.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "quote request";
$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);
?>
Thanks in advance for any help. I am getting frustrated, seems like Yahoo site builder was much easier to use.
<?PHP
$mailto = "sales@bulktvforbusiness.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "quote request";
$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);
?>
Thanks in advance for any help. I am getting frustrated, seems like Yahoo site builder was much easier to use.
Comment