We have been using a common sendmail routine as a tool for our websites forms. By using a specially written formmailer we have been able to use a multiltude of forms on serveral different websites. We simply post the form variables to the formmailer on NBBIT's web site and it handles the verification and sends the emails out.
To enable this on any of our HTML or ASP forms the following should be added to the form where you want the reCaptcha bot to be shown:
</script>
<noscript>
<br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"> </textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</noscript>
You must replace <our public key> with our global public recaptcha key.
Then you will need to add the following hidden fields into your form:
mail_to Who is the mail to, e.g. info@yourcompany.com
mail_from Who is the mail from, e.g. feedback@yoursite.com
mail_cc Who is the carbon copy to be sent to, e.g. joe@yourcompany.com Leave blank if not needed!
mail_bcc Who is the blind carbon copy to be sent to, e.g. karen@yourcompany.com Leave blank if not needed!
mail_subject Text to appear in subject line of the e-mail
mail_body_add Text to appear at the top of the body. Leave blank if not needed!
mail_redirect Page to redirect to after sending e-mail, e.g. http://yoursite.com/thankyou.htm
Then set your forms action tag to ACTION=http://www.nbbit.com/tools/sendmail/sendit.asp
and that should work.
By default each hidden field has a default value in the sendit module. So you will NOT recieve an error if you have not included a hidden field.