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 2 years ago
Version v2.0.0
Downloads 843
Requires Statamic 2

Christopher Bischoff

More by Christopher Bischoff

Similar Addons

See All
Limit file downloading to logged in users or only allow one download per email $9

Download

by Erin Dalzell in Tag
Limit file downloading to logged in users or only allow one download per email
Create iCal files so users can add events to their calendar

iCal

by Erin Dalzell in Dates, Tag
Create iCal files so users can add events to their calendar