PDA

View Full Version : I dont receive my emails



madnikdog
02-10-2006, 08:56 PM
When i fill in the form to try i dont receive the email with the information.
My page is
http://www.maddogsimracing.com/signup.html
My php is
http://www.maddogsimracing.com/signup.php
My php text is
HTML>
<HEAD>
<TITLE>Succesfully processed your Sign In</TITLE>
</HEAD>
<BODY>
<H2>Thanks for Joining Maddog Racing</H2>

<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "nik@maddogsimracing.com";
$mailsubj = "Maddog Racing Sign Up";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>

My properties on the form are
Action : signup.php
post
empty box.

My email works and it gets redirected to my AOL account ok
Please help or no one will join my team LOL
Cheers Nik

jabird60
02-10-2006, 10:01 PM
did you do that script you self
???

madnikdog
02-10-2006, 10:12 PM
no the one you could download

jabird60
02-10-2006, 10:14 PM
When i fill in the form to try i dont receive the email with the information.
My page is
http://www.maddogsimracing.com/signup.html
My php is
http://www.maddogsimracing.com/signup.php
My php text is
HTML>
<HEAD>
<TITLE>Succesfully processed your Sign In</TITLE>
</HEAD>
<BODY>
<H2>Thanks for Joining Maddog Racing</H2>

<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "nik@maddogsimracing.com";
$mailsubj = "Maddog Racing Sign Up";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>

My properties on the form are
Action : signup.php
post
empty box.(this should be multipart/form-data)

My email works and it gets redirected to my AOL account ok
Please help or no one will join my team LOL
Cheers Nik

you need to Correct the letters in red

ok this is the script you need to use

<HTML>
<HEAD>
<TITLE>Succesfully processed your Sign In</TITLE>
</HEAD>
<BODY>
<H2>Thanks for Joining Maddog Racing<H2>

<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "nik@maddogsimracing.com";
$mailsubj = "Maddog Racing Sign Up";
$mailhead = "From: $email\Maddog Racing Sign Up";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>

just copy it in to notepad and up load it to you website

madnikdog
02-10-2006, 10:27 PM
Cheers Mate
Works great thanks.

jabird60
02-10-2006, 10:29 PM
are you using neo maill or horde or squirl mail??