Just replace user with your account name and mail.myisp.com with your mail server. For instance, if your e-mail address is firstname.lastname@example.org, then you'd change it to read:
var account="bob"; var server="fro.hair.com";
I didn't invent this; I found it somewhere else, but I've made some modifications to it. Feel free to use it on your page, and good luck foiling the spammers!
© Andrés Santiago Pérez-Bergquist, All rights reserved. The reproduction of this work, by any means electronic, physical, or otherwise, in whole or in part, except for the purposes of review or criticism, without the express written consent of the author, is strictly prohibited. All references to copyrighted and/or trademarked names and ideas held by other individuals and/or corporations should not be considered a challenge to said copyrights and trademarks.
If you wish to contact the author, you may do so at