PHPackages                             foskym/flarum-multi-mailer - 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. foskym/flarum-multi-mailer

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

foskym/flarum-multi-mailer
==========================

Allow you to use different smtp configs determined by user email domain suffix.

v0.2.0(1y ago)2500MITPHP

Since Jul 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/FoskyM/flarum-multi-mailer)[ Packagist](https://packagist.org/packages/foskym/flarum-multi-mailer)[ RSS](/packages/foskym-flarum-multi-mailer/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Multi SMTP Mailer
=================

[](#multi-smtp-mailer)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/66f63dcd36a1857555313381ac14a56ed38e2a21993f6ce2a2074df0cf3ffadd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f736b796d2f666c6172756d2d6d756c74692d6d61696c65722e737667)](https://packagist.org/packages/foskym/flarum-multi-mailer) [![Total Downloads](https://camo.githubusercontent.com/ff6c748215788f8ec315a53f9d43ef6317a67d0e1407aedb12bf8f191c9119d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f736b796d2f666c6172756d2d6d756c74692d6d61696c65722e737667)](https://packagist.org/packages/foskym/flarum-multi-mailer)

A [Flarum](http://flarum.org) extension. Allow you to use different smtp configs determined by user email domain suffix.

Development Reason
------------------

[](#development-reason)

We found that some post offices are unable to receive emails from current sending post office,
After changing the sending post office, we found that some normal would be unable to receive the email.
So that we need a custom `driver` to determine the sending post office based on the receiving address (email domain suffix).

Usage
-----

[](#usage)

Turn on it after installation, set the smtp configs, and switch `mail driver` to `multi-smtp`. [![QQ_1721363842605](https://private-user-images.githubusercontent.com/39661663/350235679-b53ee3c9-0a36-4085-ba50-93ff88f0678b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODAyMDI4NjIsIm5iZiI6MTc4MDIwMjU2MiwicGF0aCI6Ii8zOTY2MTY2My8zNTAyMzU2NzktYjUzZWUzYzktMGEzNi00MDg1LWJhNTAtOTNmZjg4ZjA2NzhiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA1MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNTMxVDA0NDI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3YWJiNTA1MWMxMWQ0ODk0MTliNjBlNWYyYWFmZmE5YmZkYzIzYTU4NjBhMTRjMmQ1OTU3NzhjMjRkM2RiNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.cFGH90mbMfseMQs47P3ta8XVQdi3CEOACj44UA0ssT4)](https://private-user-images.githubusercontent.com/39661663/350235679-b53ee3c9-0a36-4085-ba50-93ff88f0678b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODAyMDI4NjIsIm5iZiI6MTc4MDIwMjU2MiwicGF0aCI6Ii8zOTY2MTY2My8zNTAyMzU2NzktYjUzZWUzYzktMGEzNi00MDg1LWJhNTAtOTNmZjg4ZjA2NzhiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA1MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNTMxVDA0NDI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3YWJiNTA1MWMxMWQ0ODk0MTliNjBlNWYyYWFmZmE5YmZkYzIzYTU4NjBhMTRjMmQ1OTU3NzhjMjRkM2RiNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.cFGH90mbMfseMQs47P3ta8XVQdi3CEOACj44UA0ssT4)[![QQ_1721364283298](https://private-user-images.githubusercontent.com/39661663/350236854-80ef8f30-c772-456a-883b-112f7aaec786.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODAyMDI4NjIsIm5iZiI6MTc4MDIwMjU2MiwicGF0aCI6Ii8zOTY2MTY2My8zNTAyMzY4NTQtODBlZjhmMzAtYzc3Mi00NTZhLTg4M2ItMTEyZjdhYWVjNzg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLV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ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.MvxepuvyNnqJm-GfHkDYY9uqeWoEsLLeJkjUfqqO0o0)

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

[](#installation)

Install with composer:

```
composer require foskym/flarum-multi-mailer:"*"
```

Updating
--------

[](#updating)

```
composer update foskym/flarum-multi-mailer:"*"
php flarum migrate
php flarum cache:clear
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/foskym/flarum-multi-mailer)
- [GitHub](https://github.com/foskym/flarum-multi-mailer)
- [Discuss](https://discuss.flarum.org/d/PUT_DISCUSS_SLUG_HERE)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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 ~21 days

Total

3

Last Release

675d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39661663?v=4)[FoskyM](/maintainers/FoskyM)[@FoskyM](https://github.com/FoskyM)

---

Top Contributors

[![FoskyM](https://avatars.githubusercontent.com/u/39661663?v=4)](https://github.com/FoskyM "FoskyM (11 commits)")

---

Tags

extensionflarummailersmtpmailermultismtpflarum

### Embed Badge

![Health badge](/badges/foskym-flarum-multi-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/foskym-flarum-multi-mailer/health.svg)](https://phpackages.com/packages/foskym-flarum-multi-mailer)
```

###  Alternatives

[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

54010.2M280](/packages/nette-mail)[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[aplus/email

Aplus Framework Email Library

2561.6M3](/packages/aplus-email)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)[fof/webhooks

Automatically notify Discord, Slack, and Microsoft Teams when events happen on your Flarum forum.

2419.9k](/packages/fof-webhooks)[shieldon/messenger

Sending messages to the third-party services made easy for PHP.

2332.4k3](/packages/shieldon-messenger)

PHPackages © 2026

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