PHPackages                             jweiland/mail-link-fixer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. jweiland/mail-link-fixer

ActiveTypo3-cms-extension[CLI &amp; Console](/categories/cli)

jweiland/mail-link-fixer
========================

Mail Link Fixer (EXT:mail\_link\_fixer) - CLI command to fix javascript:linkTo\_UnCryptMailto() hrefs in RTE Fields

1.0.0(1mo ago)040GPL-2.0-or-laterPHPPHP ^8.2CI passing

Since Jun 9Pushed 1mo agoCompare

[ Source](https://github.com/jweiland-net/mail_link_fixer)[ Packagist](https://packagist.org/packages/jweiland/mail-link-fixer)[ Docs](https://jweiland.net)[ RSS](/packages/jweiland-mail-link-fixer/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

TYPO3 Extension `mail_link_fixer`
=================================

[](#typo3-extension-mail_link_fixer)

[![Packagist](https://camo.githubusercontent.com/5ee9b5be33b429cd91d7c89cc45211ab0e172179f41b8dc26888cb6c6cf0479c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d2d677265792e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/jweiland/mail-link-fixer/)[![Latest Stable Version](https://camo.githubusercontent.com/3e547e8f980fabeaa137e4ff754639908811fe17e18d0f083c4084d473c96c05/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d61696c2d6c696e6b2d66697865722f762f737461626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://extensions.typo3.org/extension/mail_link_fixer/)[![Total Downloads](https://camo.githubusercontent.com/47abce979a83c82241421803962f426b06f2c6f80030e16ce4f329fca2cf895e/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d61696c2d6c696e6b2d66697865722f642f746f74616c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jweiland/mail-link-fixer/)[![Monthly Downloads](https://camo.githubusercontent.com/e432ded14a512bc557c3162b448383f3be564f10a21fd3683cf9e657fc41645f/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d61696c2d6c696e6b2d66697865722f642f6d6f6e74686c793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jweiland/mail-link-fixer/)[![TYPO3 13.4](https://camo.githubusercontent.com/afa776fc5e0d3171e58541b852215f62b33c4ba151d008b1794b0bd511fb9354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332e342d677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7479706f33)](https://get.typo3.org/version/13)[![TYPO3 14.3](https://camo.githubusercontent.com/bdfa977c6fa6b96a96f96385ba2110bde306d7e07af5ce3c2196534b5e685cc3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31342e332d677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7479706f33)](https://get.typo3.org/version/14)

[![Build Status](https://github.com/jweiland-net/mail_link_fixer/actions/workflows/ci.yml/badge.svg)](https://github.com/jweiland-net/mail_link_fixer/actions/workflows/ci.yml/badge.svg)

This extension provides a CLI command to migrate legacy `javascript:linkTo_UnCryptMailto()` links in the database into standard `mailto:` links, allowing modern TYPO3 versions (v12/v13) to natively handle frontend spam protection.

1 Features
----------

[](#1-features)

- Safely reverses legacy Caesar-cipher encrypted email links directly in the database.
- Rebuilds broken `` tags into standard `` tags.
- Dynamically scans the global TYPO3 TCA to find and process all Rich Text (RTE) and standard text fields.
- Includes a robust `--dry-run` mode to preview changes without altering database records.

2 Usage
-------

[](#2-usage)

### 2.1 Installation

[](#21-installation)

#### Installation using Composer

[](#installation-using-composer)

The recommended way to install the extension is using Composer.

Run the following command within your Composer based TYPO3 project:

```
composer require jweiland/mail-link-fixer

```

### 2.2 Command Usage

[](#22-command-usage)

The extension registers the following CLI command via the TYPO3 Console:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email [options]
```

#### Options

[](#options)

OptionShortDescription`--dry-run`Preview changes without writing to the database.`--uid=`Process only the `tt_content` record with this UID.`--table=``-t`Specific table to process (default: `tt_content`).`--field=``-f`Specific field to process (default: `bodytext`).`--all-rte`Scan all tables and fields in TCA configured with `enableRichtext=true`.#### Examples

[](#examples)

Preview all changes without touching the database:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --dry-run
```

Fix a single record by UID:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --uid=42
```

Process a specific table and field:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --table=tx_myext_domain_model_news --field=bodytext
```

Scan and fix all RTE fields across the entire TCA:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte
```

Combine `--all-rte` with `--dry-run` for a safe full-site preview:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte --dry-run
```

Add `-v` for verbose output that shows the number of replacements per record:

```
vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte -v
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance91

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb3188d5c1229a7c04958c000b853852b90f81036611ceff5b9641d8376bd06e?d=identicon)[jweiland.net](/maintainers/jweiland.net)

---

Top Contributors

[![hojalatheef](https://avatars.githubusercontent.com/u/144037456?v=4)](https://github.com/hojalatheef "hojalatheef (38 commits)")

### Embed Badge

![Health badge](/badges/jweiland-mail-link-fixer/health.svg)

```
[![Health](https://phpackages.com/badges/jweiland-mail-link-fixer/health.svg)](https://phpackages.com/packages/jweiland-mail-link-fixer)
```

###  Alternatives

[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2959.5M263](/packages/helhum-typo3-console)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k57](/packages/friendsoftypo3-content-blocks)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[b13/assetcollector

Asset collector - Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10125.6k](/packages/b13-assetcollector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
