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]">[email protected]</a>

Photo by Mathyas Kurmann on Unsplash


Important Links
Details
Released April 3, 2018
Updated 10 months ago
Version v2.0.0
Downloads 460
Requires Statamic 2

Christopher Bischoff

More by Christopher Bischoff

Similar Addons

See All
Create, edit, and delete entries, pages, and globals on the front-end of your site without the control panel. $39

Workshop

by Statamic in Forms, Tag
Create, edit, and delete entries, pages, and globals on the front-end of your site without the control panel.
Allows you to manipulate inline SVGs, including injecting classes, width and height properties, and a11y configuration.

SVG

by Ben Furfie in Tag, Tool, Utility, Media
Allows you to manipulate inline SVGs, including injecting classes, width and height properties, and a11y configuration.