MailtoLink

Free!
Download
Description

Generate a mailto link element with the value as the email address. If it's not an email address, it's going to be one busted link. Obfuscates an email address with special characters making it hard for spam bots to sniff out and scrape off your site. Still reads like an email address as far as readers are concerned.

Obfuscation is a method of encoding content so that the source code is hard or impossible to understand. This is generally used on email addresses to prevent spambots from recognizing it as an email address and keeping you safe from unwanted emails.

Basic Usage

This AddOn provides a modifier, a tag and an API. Head over to the documentation to get the details.

{{ mailto_link email="[email protected]" }}
<a href="mailto:[email protected]ample.com">[email protected]</a>

Photo by Mathyas Kurmann on Unsplash


Important Links
Details
Released April 3, 2018
Updated 1 year ago
Version v2.0.0
Downloads 518
Requires Statamic 2

Christopher Bischoff

More by Christopher Bischoff

Similar Addons

See All
Only show content to a site visitor once

Show Once

by Erin Dalzell in Tag
Only show content to a site visitor once
An all-in-one site reporting, metadata mastering, OG managing, Twitter card making, sitemap generating addon. $49

SEO Pro

by Statamic in Enhancement, Social Media, Utility, Tag, Tool
An all-in-one site reporting, metadata mastering, OG managing, Twitter card making, sitemap generating addon.
Only resize images with Glide when they are within set dimensions.

SafeGlide

by Pixel Primate in Media, Utility, Enhancement, Tag
Only resize images with Glide when they are within set dimensions.