Skip to Content Area

Encoding Email Addresses to Reduce Spam

So yeah, we hate SPAM as much as you do. When we design sites, we make sure that all email addresses are encoded in such a way that most SPAMbots won't take the time to harvest. There is no way to truly prevent a determined spammer from taking your email address, but if we encode it well enough it's not worth their CPU time when there are easier targets out there.

But when you want to add an email address on a page, it's very vulnerable. We have a solution now though, thanks to Smarty, the open source template engine that powers Gutensite. Smarty has a great function that does this encoding for us, so we've added a routine in our CMS that will detect if you have an email address you want to encode and then Smarty will encode it.

It's very simple, just add a bit of code like this:

{mailto address="service@gutensite.com" text="Customer Service" encoding="javascript_charcode"}

Which will create a link like this: {mailto address="service@gutensite.com" text="Customer Service" encoding="javascript_charcode"}

For all available options, see Smarty's full documentation.


Let's Get Started!

If you like doing everything yourself you can instantly create a website and just ask our support team for technical assistance. But if you want professional help with strategy, design, and website setup, tell us about your needs and we'll schedule a call to create a project that fits your needs and budget.

 
Make a Website

I would like a:

Cutting-Edge Website
Beautiful New Brand
Professional Consultation
This field is required.
This field is required.
This field is required.
This field is required.
Send
Reset Form