PHPackages                             mfd/typo3-mail-routing - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mfd/typo3-mail-routing

ActiveTypo3-cms-extension[Mail &amp; Notifications](/categories/mail)

mfd/typo3-mail-routing
======================

A TYPO3 CMS extension that enables flexible e-mail transport routing. This extension allows you to control which mail transport is used for sending emails either globally for your entire site or on a per-email basis.

0.1.2(1y ago)112.5k↓34.1%GPL-3.0-or-laterPHPPHP ^8.1

Since Apr 17Pushed 1y ago3 watchersCompare

[ Source](https://github.com/marketing-factory/typo3-mail-routing)[ Packagist](https://packagist.org/packages/mfd/typo3-mail-routing)[ RSS](/packages/mfd-typo3-mail-routing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

TYPO3 Mail Routing Extension
============================

[](#typo3-mail-routing-extension)

A TYPO3 CMS extension that enables flexible e-mail transport routing. This extension allows you to control which mail transport is used for sending emails either globally for your entire site or on a per-email basis.

Features
--------

[](#features)

- Route emails to different transports using the X-Mail-Transport header
- Configure a default transport for a certain site
- Override the default transport on a per-email basis by setting the X-Mail-Transport header
- Seamless integration with TYPO3's mail system
- Support for multiple mail transport configurations
- Easy to extend and customize

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- TYPO3 CMS 13.4.5 or higher

Installation
------------

[](#installation)

1. Install via Composer:

```
composer require mfd/typo3-mail-routing
```

2. Include the extension in your TYPO3 installation:
    - Activate the extension in the TYPO3 Extension Manager
    - Or include it in your `composer.json` and run `composer update`

Configuration
-------------

[](#configuration)

The extension is configured through EXTCONF settings that follow the same conventions as TYPO3's mail configuration (`$GLOBALS['TYPO3_CONF_VARS']['MAIL']`). You can configure these settings in your `config/system/additional.php` file:

```
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mail_routing'] = [
    'transports' => [
        'special_smtp' => [
            'transport' => 'smtp',
            'host' => 'smtp.example.org',
            'port' => 25,
            // ... other SMTP settings
        ],
        'sendmail' => [
            'transport' => 'sendmail',
            'command' => '/usr/sbin/sendmail -bs',
        ],
    ]
    // Add more transport configurations as needed
];
```

Each transport configuration should match the structure expected by TYPO3's mail system. The `default` key specifies which transport to use when no specific transport is requested.

Development
-----------

[](#development)

### Setup Development Environment

[](#setup-development-environment)

1. Clone the repository
2. Install dependencies:

```
composer install
```

### Code Quality Tools

[](#code-quality-tools)

The extension includes several code quality tools:

- PHPStan for static analysis
- PHPCS for code style checking
- Rector for automated refactoring

Run PHPStan analysis:

```
composer phpstan
```

License
-------

[](#license)

This extension is licensed under GPL-3.0-or-later.

Author
------

[](#author)

- Christian Spoo ()

Support
-------

[](#support)

For support, please create an issue in the GitHub repository or contact the author directly.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance47

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Every ~0 days

Total

3

Last Release

396d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82a4f3fa125541cd587bbf5db91e51a64d89d36f9c1ca07fcfba271a5661a730?d=identicon)[cspoo](/maintainers/cspoo)

---

Top Contributors

[![tehplague](https://avatars.githubusercontent.com/u/1062568?v=4)](https://github.com/tehplague "tehplague (10 commits)")

---

Tags

routingmailertransporttypo3e-mail

### Embed Badge

![Health badge](/badges/mfd-typo3-mail-routing/health.svg)

```
[![Health](https://phpackages.com/badges/mfd-typo3-mail-routing/health.svg)](https://phpackages.com/packages/mfd-typo3-mail-routing)
```

###  Alternatives

[wazum/sluggi

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

39488.5k](/packages/wazum-sluggi)[directmailteam/direct-mail

Advanced Direct Mail/Newsletter mailer system with sophisticated options for personalization of emails including response statistics.

39209.3k2](/packages/directmailteam-direct-mail)[in2code/luxletter

Free newsletter extension for TYPO3 for an individual email marketing. A lot of analytics and modern concepts. Works with and without EXT:lux.

2572.3k2](/packages/in2code-luxletter)[sup7even/mailchimp

Simple MailChimp integration to let users register to a specific list

1531.9k](/packages/sup7even-mailchimp)[mediaessenz/mail

Powerful newsletter system for TYPO3

119.1k2](/packages/mediaessenz-mail)

PHPackages © 2026

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