Frank
It depends a lot on your situation.
If you have other filters in place and you don't mind them being hit with junk you can publish your address with an "old-fashioned" mailto link..
I've seen quite a few implementations over the last few years involving javascript and other techniques, but it all comes back to two basic things:
- Allowing people to contact you easily
- Stopping spammers from clogging your inbox
You should never let the spammers take control!
If you put too many barriers in the way "Joe Soap" won't bother "jumping through hoops" in order to contact you. Why would they?
At the same time, if you are aware of how spammers garner addresses then it can help to combat the problem.
If you want to experiment a little try the following:
- Create two new aliases (email addresses)
- Publish one with a mailto link somewhere prominent ie. in your website's footer
- Publish the other using the method I suggested
- Wait a few weeks to see which one gets the most spam