PDA

View Full Version : About to give up...



sgcrazy
04-13-2008, 02:12 AM
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.

www.bulktvforbusiness.com

Karen Mac
04-13-2008, 04:18 AM
Do you have an autoresponder set up?

Karen

sgcrazy
04-13-2008, 05:24 AM
No

Karen Mac
04-13-2008, 06:08 AM
You need the autoresponder set up to autogenerate email, and copy yourself too.. Or at least I believe so. I have them set up on all my accounts that do mail, so Im not positive this is an issue, but it might be.. try it and see.

Karen