Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How to make spam-free emails on site?


Go to End


6 Posts   3682 Views

Avatar
rceee

Community Member, 18 Posts

22 May 2009 at 9:48am

What is the best way to handle spam-proof (or at least resistant) mailto: links in SS?

I have tried encoding, using http://www.ianr.unl.edu/email/encode/, but inserting this into the text editor, even using "insert HTML" mode, reformats it to regular text.

Avatar
AdamJ

Community Member, 145 Posts

22 May 2009 at 1:21pm

What text editor are you using?

Avatar
rceee

Community Member, 18 Posts

22 May 2009 at 1:47pm

Just the built-in TinyMCE that comes with SS 2.3.1.

Avatar
AdamJ

Community Member, 145 Posts

22 May 2009 at 2:55pm

Right. I think TinyMCE will just do that no matter what you do. Unless the dev's add some functionality to encode email addresses for us automatically (which would be a cool feature in my opinion). Maybe you could add it as a feature request to the trac?

Avatar
bummzack

Community Member, 904 Posts

22 May 2009 at 7:28pm

Hi

Usually I tell my clients to not insert any plain mailto: links in the content. Instead, they should use something like address(at)domain.tld. I then use a jQuery plugin like this: http://www.ia-stud.hiof.no/~joakims/projects/defuscator/ to convert all the obfuscated mails back to "normal" mailto-links.

Avatar
ravid

Community Member, 6 Posts

2 February 2010 at 5:12am