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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   4273 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