I use an HTML form and it is submitted using mailto, how can I protect the recipient's 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 will be spammed 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) {

 *  Replace the character strings below by the ones generated for 
 *  your address by our tool (without using the challenge option.)
 *  Enter your address with the format ""

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.action=v1;return true;}

</script><noscript><a href='//'>

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

<form method="POST" action="" onsubmit="return f(this)">

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

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


RSS Recent Anti-Spam Help Updates

Browse Anti-Spam Help Topics