I am using a form with FormMail, how can I use this tool to protect the form's recipient email address?

New! Get free form spam protection with FormSmarts.

Whether you intend to use a mailto form or a form submitted to a server-side program that will forward its content to you by email, your address is at risk if it appears anywhere in the HTML source of the page. We explain below how you can use the antispam encoder to protect your address. In the following examples, we have used a bold font to emphasize the elements to modify from the code generated by the encoder.

<script type='text/javascript'>
function f(frm) {

 *  (1) replace the character strings below by the ones generated for your
 *  address by the encoder (without using the challenge option)
 *  (2) replace 'recipient' by the name of the field containing your email address
 *  (3) insert the URL of your mailing program in the 'action' attribute
 *      e.g. action=""

var v7=unescape("1%3A%2C%29/%0B%23%216%29%21%3A%22x%22%27*");

var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(
v2.charCodeAt(v4)^v7.charCodeAt(v4));}frm.recipient.value=v1;return true;}
</script><noscript><a href=''>

JavaScript is required to post this form</a></noscript>

<form method="POST" action="" onsubmit="return f(this)">
<input type="hidden" name="recipient" value=""/>   <!-- 'value' must remain be empty -->

<!-- Place the form input fields below -->

<input type="submit" name="submit" value="Send"/>

RSS Recent Anti-Spam Help Updates

Browse Anti-Spam Help Topics