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 1 year ago
Version v2.0.0
Downloads 672
Requires Statamic 2

Christopher Bischoff

More by Christopher Bischoff