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 8 months ago
Version v2.0.0
Downloads 396
Requires Statamic 2

Christopher Bischoff

More by Christopher Bischoff

Similar Addons

See All
A tag pair to turn those replicator and bard sets into friendly neighbors, able to retrieve the type (or other field) from the next or previous set. Hidey ho!

Neighbors

by Becky Soll in Tag
A tag pair to turn those replicator and bard sets into friendly neighbors, able to retrieve the type (or other field) from the next or previous set. Hidey ho!
Allow your users to update their user information from the front end, including uploading files (avatars, etc) $19

Profiler

by Erin Dalzell in Users, Utility, Tag, Enhancement
Allow your users to update their user information from the front end, including uploading files (avatars, etc)
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
This addon allows you to embed CodePen into your Statamic site. $1

CodePen Embeds

by Miguel Piedrafita in Tag
This addon allows you to embed CodePen into your Statamic site.