Hello,
I created a php email form using front page 2003. The issue im having is once you fill out the form and hit submit it doesnt send the email, it tells you the email has been sent but i never receive it. Please Help. Thank You
here is the php code
<?php
require_once(‘recaptchalib.php’);
$privatekey = “xxxxxxxxxxxxxxxx”;
$resp = recaptcha_check_answer ($privatekey,
$_SERVER[“REMOTE_ADDR”],
$
$_POST[“recaptcha_response_field”]);
if (!$resp->is_valid) {
die (“The reCAPTCHA wasn’t entered correctly. Go back and try it again.” .
“(reCAPTCHA said: ” . $resp->error . “)”);
}
?>
<body style=”text-align: center”>
<td width=”500″ />
<div align=”center”>
<!–webbot BOT=”GeneratedScript” PREVIEW=” ” startspan –><script Language=”JavaScript” Type=”text/javascript”><!–
function FrontPage_Form1_Validator(theForm)
{
if (theForm.Name.value == “”)
{
alert(“Please enter a value for the “Name” field.”);
theForm.Name.focus();
return (false);
}
if (theForm.Name.value.length < 6)
{
alert(“Please enter at least 6 characters in the “Name” field.”);
theForm.Name.focus();
return (false);
}
if (theForm.Email.value == “”)
{
alert(“Please enter a value for the “Email” field.”);
theForm.Email.focus();
return (false);
}
if (theForm.Email.value.length < 6)
{
alert(“Please enter at least 6 characters in the “Email” field.”);
theForm.Email.focus();
return (false);
}
return (true);
}
</div>
//–></script><!–webbot BOT=”GeneratedScript” endspan –><form method=”POST” name=”FrontPage_Form1″ action=”../_derived/nortbots.htm”
onsubmit=”location.href=’/php_scripts/Thank_You.htm’;return false;”
language=”JavaScript” webbot-onSubmit=”return
FrontPage_Form2_Validator(this)” webbot-action=”–WEBBOT-SELF–“>
<!–webbot bot=”SaveResults” startspan S-Email-Format=”TEXT/PRE”
S-Email-Address=”
B-Email-Subject-From-Field=”FALSE” S-Email-Subject=”Good Vibrations
Motorsports”
S-Builtin-Fields=”REMOTE_NAME REMOTE_USER Date Time”
B-Email-ReplyTo-From-Field=”TRUE” S-Email-ReplyTo=”
S-Date-Format=”%A, %B %d, %Y” S-Time-Format=”%I:%M:%S %p” –><input TYPE=”hidden” NAME=”VTI-GROUP” VALUE=”0″><!–webbot bot=”SaveResults” endspan
i-checksum=”43374″ –>
<h3 align=”center”><font size=”5″>Information/Quote Request
Form</font></h3>
<p align=”center”><b><font size=”4″>Please Use the Following Form If You
Have any Questions
or Comments.</font></b></p>
<table border=”1″ width=”453″>
<tr>
<td width=”88″>
<p align=”center”><b><em><font size=”5″>Name</font></em></b></td>
<td>
<!–webbot bot=”Validation” b-value-required=”TRUE” i-minimum-length=”6″ –><input name=”Name” value size=”35″></td>
</tr>
<tr>
<td width=”88″><b><em><font size=”5″>E-mail</font></em></b></td>
<td>
<!–webbot bot=”Validation” b-value-required=”TRUE” i-minimum-length=”6″ –><input type=”TEXT” name=”Email” value size=”35″></td>
</tr>
<tr>
<td width=”88″><b><em><font size=”5″>Remarks</font></em></b></td>
<td><textarea rows=”8″ name=”Remarks” cols=”41″></textarea></td>
</tr>
</table>
<p><input type=”submit” value=”Submit Request” name=”submit”> <input
type=”RESET” value=”Reset Form”></p>
</form></td>
</tr>
</table></div>
thank you for your time