Title: Crypto Mailto Defender
Author: Marco Petrucci
Published: <strong>July 25, 2026</strong>
Last modified: July 26, 2026

---

Search plugins

![](https://ps.w.org/crypto-mailto-defender/assets/banner-772x250.gif?rev=3623723)

![](https://ps.w.org/crypto-mailto-defender/assets/icon.svg?rev=3623723)

# Crypto Mailto Defender

 By [Marco Petrucci](https://profiles.wordpress.org/marco00petrucci/)

[Download](https://downloads.wordpress.org/plugin/crypto-mailto-defender.1.0.1.zip)

 * [Details](https://vec.wordpress.org/plugins/crypto-mailto-defender/#description)
 * [Reviews](https://vec.wordpress.org/plugins/crypto-mailto-defender/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/crypto-mailto-defender/#installation)
 * [Development](https://vec.wordpress.org/plugins/crypto-mailto-defender/#developers)

 [Support](https://wordpress.org/support/plugin/crypto-mailto-defender/)

## Description

Tired of spam bots scraping your email addresses? Standard obfuscation techniques(
like ROT13, CSS direction tricks, or Base64) are easily bypassed by modern crawlers
and scrapers.

**Crypto Mailto Defender** uses real cryptography to protect your links, ensuring
absolute security without compromising user experience.

The plugin utilizes a global output buffering system to intercept your HTML server-
side before it reaches the browser. It encrypts your `mailto:` links (and plain 
text emails) using an automatically generated **AES-256-CBC** key and replaces them
with a masked version (e.g., `********@domain.com`).

When a real human user clicks the link or the icon, the plugin executes a secure,
nonce-protected **Server-Side AJAX request** to instantly decrypt the payload and
seamlessly open their mail client. The encryption key never leaves your server.

### Key Features

 * **Zero-Impact Performance:** JavaScript and CSS assets are dynamically injected
   only on pages that actually contain encrypted email links. No unnecessary code
   loading.
 * **Global Interception:** Catches emails everywhere—inside standard content, widgets,
   headers, footers, and complex Page Builder layouts (Elementor, Gutenberg, Bricks,
   etc.).
 * **Rate Limiting:** Built-in protection against AJAX flooding to prevent server
   abuse.
 * **Strict Bot Protection:** Optionally enforce hardware-level interactions (`isTrusted`
   events) to block automated JS click bots like Puppeteer or Selenium.
 * **Smart UI:** Text links are elegantly revealed on the first click, while icons/
   buttons instantly open the native mail client.
 * **Forminator Compatible:** Intercepts forms loaded via AJAX dynamically.

**Acknowledgements**
 The architectural idea and study behind this plugin were inspired
by the article [Email Obfuscation](https://spencermortensen.com/articles/email-obfuscation/)
by Spencer Mortensen.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/crypto-mailto-defender` directory,
    or install the plugin through the WordPress Plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. The plugin will automatically start encrypting all `mailto:` links and plain text
    emails across your site.
 4. Navigate to **Settings > Crypto Mailto Defender** to configure masking length, 
    hint text, and strict bot protection.

## FAQ

### Can I use this for multiple email addresses on the same page?

Absolutely. The plugin will intercept and protect every single email address or `
mailto:` link present on the page seamlessly.

### Does this plugin work with page builders like Elementor or Divi?

Yes. Crypto Mailto Defender uses global output buffering, meaning it captures and
protects emails regardless of where they are placed in the layout, including custom
headers, footers, and third-party widgets.

### What happens if a user has JavaScript disabled?

The emails will remain securely encrypted and visually masked as placeholders (e.
g., `********@domain.com`). This ensures that bots mimicking non-JS environments
cannot scrape the data.

### Will this affect my website’s SEO?

No. Search engine bots (like Googlebot) do not rely on reading email addresses to
index or rank your pages. Masking them prevents spam scrapers from finding them 
while keeping your SEO entirely intact.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Crypto Mailto Defender” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marco Petrucci ](https://profiles.wordpress.org/marco00petrucci/)

[Translate “Crypto Mailto Defender” into your language.](https://translate.wordpress.org/projects/wp-plugins/crypto-mailto-defender)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/crypto-mailto-defender/),
check out the [SVN repository](https://plugins.svn.wordpress.org/crypto-mailto-defender/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/crypto-mailto-defender/)
by [RSS](https://plugins.trac.wordpress.org/log/crypto-mailto-defender/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * **Feature:** Migrated to Global Output Buffering. The plugin now catches emails
   in headers, footers, and complex page builder layouts.
 * **Security:** Added a Rate Limiting layer to the AJAX decryption endpoint to 
   prevent server flooding attacks.
 * **Fix:** Improved handling of custom SVG icons and HTML attributes, avoiding 
   destructive sanitization when rebuilding links.
 * **Performance:** Assets (CSS/JS) are now dynamically injected strictly at the
   end of the HTML document only when an email is actively masked.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **2 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.0.3**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/crypto-mailto-defender/)
 * Tags
 * [email](https://vec.wordpress.org/plugins/tags/email/)[mailto](https://vec.wordpress.org/plugins/tags/mailto/)
   [obfuscator](https://vec.wordpress.org/plugins/tags/obfuscator/)[security](https://vec.wordpress.org/plugins/tags/security/)
   [spam](https://vec.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://vec.wordpress.org/plugins/crypto-mailto-defender/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/crypto-mailto-defender/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/crypto-mailto-defender/reviews/)

## Contributors

 *   [ Marco Petrucci ](https://profiles.wordpress.org/marco00petrucci/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/crypto-mailto-defender/)