PHPackages                             detain/myadmin-mail-module - 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. detain/myadmin-mail-module

ActiveMyadmin-plugin[Mail &amp; Notifications](/categories/mail)

detain/myadmin-mail-module
==========================

Mail Services Module for MyAdmin

11.1kPHPCI failing

Since Apr 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/myadmin-plugins/mail-module)[ Packagist](https://packagist.org/packages/detain/myadmin-mail-module)[ RSS](/packages/detain-myadmin-mail-module/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mail Services Module for MyAdmin
================================

[](#mail-services-module-for-myadmin)

[![Tests](https://github.com/detain/myadmin-mail-module/actions/workflows/tests.yml/badge.svg)](https://github.com/detain/myadmin-mail-module/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/6b3884041b439961dc9f0cde6317511b4623c2d94267083c716fb7bb6c1bde32/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6d61696c2d6d6f64756c652f76657273696f6e)](https://packagist.org/packages/detain/myadmin-mail-module)[![Total Downloads](https://camo.githubusercontent.com/adfbda84dfdc2355f1ae451fe03949eb078a60ddfdc43876c519bffea2fc6fff/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6d61696c2d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/detain/myadmin-mail-module)[![License](https://camo.githubusercontent.com/d4579ddcdc5dc10db456bd05549d7918443b5785a4ab43953e95b28d6dde1e09/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d6d61696c2d6d6f64756c652f6c6963656e7365)](https://packagist.org/packages/detain/myadmin-mail-module)

A MyAdmin plugin module that provides mail service provisioning, activation, deactivation, and lifecycle management. It integrates with the Symfony EventDispatcher to handle service events such as enabling, reactivating, suspending, and terminating mail accounts (including ZoneMTA-based services).

Features
--------

[](#features)

- Event-driven mail service lifecycle management (activate, reactivate, deactivate, terminate)
- ZoneMTA service type support with dedicated provisioning workflows
- Configurable suspension, deletion, and billing settings
- Admin and client email notifications on service state changes
- Integrates with the MyAdmin ORM and settings framework

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

[](#installation)

```
composer require detain/myadmin-mail-module
```

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

[](#configuration)

The module exposes its settings through the `$settings` static property on `Detain\MyAdminMail\Plugin`. Key defaults include:

SettingDefaultSERVICE\_ID\_OFFSET1100SUSPEND\_DAYS14SUSPEND\_WARNING\_DAYS7DELETE\_PENDING\_DAYS45EMAIL\_FROMRunning Tests
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit
```

License
-------

[](#license)

This package is licensed under the [LGPL-2.1-only](https://opensource.org/licenses/LGPL-2.1) license.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance58

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1036e0717211b8030b83cbe729e8ba6ba442fdbd5285fb97a39d7dcfe339342?d=identicon)[detain](/maintainers/detain)

---

Top Contributors

[![detain](https://avatars.githubusercontent.com/u/1364504?v=4)](https://github.com/detain "detain (19 commits)")[![kumar-interserver](https://avatars.githubusercontent.com/u/29834101?v=4)](https://github.com/kumar-interserver "kumar-interserver (7 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/detain-myadmin-mail-module/health.svg)

```
[![Health](https://phpackages.com/badges/detain-myadmin-mail-module/health.svg)](https://phpackages.com/packages/detain-myadmin-mail-module)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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