PHPackages                             jonnylor63/bounce-mail-handler - 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. jonnylor63/bounce-mail-handler

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

jonnylor63/bounce-mail-handler
==============================

Bounce Mail Handler

v6.1.0(5y ago)050GPL-2.0PHPPHP &gt;=7.0.0

Since Jul 10Pushed 5y agoCompare

[ Source](https://github.com/jonnylor63/PHPMailer-BMH)[ Packagist](https://packagist.org/packages/jonnylor63/bounce-mail-handler)[ RSS](/packages/jonnylor63-bounce-mail-handler/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (25)Used By (0)

[![Build Status](https://camo.githubusercontent.com/0beb8863a8810e18fd78f7d5ae3876a4ed748a8dfaaf479e43f09611fbd5ac5a/68747470733a2f2f7472617669732d63692e6f72672f766f6b752f5048504d61696c65722d424d482e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/voku/PHPMailer-BMH)[![codecov.io](https://camo.githubusercontent.com/c63c20fa42d8432a37d5a15b74eb9ba1fc2047df8834e8ee9245dfe639581473/687474703a2f2f636f6465636f762e696f2f6769746875622f766f6b752f5048504d61696c65722d424d482f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/voku/PHPMailer-BMH?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c3009f2bb13d069bdde48e9e35c538e72e110c530aa0f0112e41d69d7c3632f1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f766f6b752f5048504d61696c65722d424d482f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/voku/PHPMailer-BMH/?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/0cf67f5a83156c66389ee597d86009970671edb0f8cb97d4e555180252c04544/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3634313737656231643935393438373839613166623534623937653065643231)](https://www.codacy.com/app/voku/PHPMailer-BMH)[![SensioLabsInsight](https://camo.githubusercontent.com/7088bc6bcc21ee9179e0b3da08a4ec0cce4a21206bf210bcb51a820bb0750019/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32313631623463312d353032352d346532392d616532322d3166393163336136363537632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/2161b4c1-5025-4e29-ae22-1f91c3a6657c)[![Latest Stable Version](https://camo.githubusercontent.com/651ca5ceced5cdb3f1f2d9f51d04a63bff0b4550c7159bc97fc0cd516e4a388b/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f626f756e63652d6d61696c2d68616e646c65722f762f737461626c65)](https://packagist.org/packages/voku/bounce-mail-handler)[![Total Downloads](https://camo.githubusercontent.com/9bdf52ff9e3aec63dd446b80ea24cab5e761497103667c57599b6068e06f1898/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f626f756e63652d6d61696c2d68616e646c65722f646f776e6c6f616473)](https://packagist.org/packages/voku/bounce-mail-handler)[![Latest Unstable Version](https://camo.githubusercontent.com/0fca5aeec289bd22eca09b287c5d1367fb3c4112071eb2c7421679e6d2e9fba9/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f626f756e63652d6d61696c2d68616e646c65722f762f756e737461626c65)](https://packagist.org/packages/voku/bounce-mail-handler)[![License](https://camo.githubusercontent.com/220a8e6dc1b6f67e7eac980310140a5dff4e819942fc8b8f29449cce1a51e2c8/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f626f756e63652d6d61696c2d68616e646c65722f6c6963656e7365)](https://packagist.org/packages/voku/bounce-mail-handler)

- PHP 7.0+ Support
- Composer &amp; PSR-0 Support
- PHPUnit testing via Travis CI (TODO: more tests needed)
- PHP-Quality testing via SensioLabsInsight (TODO: more fixes needed)

Bounce Mail Handler
===================

[](#bounce-mail-handler)

WARNING: This is a Extended-Fork of:

- instaclick's [PHPMailer-BMH](https://github.com/instaclick/PHPMailer-BMH) what is on the other hand a Fork of WorxWare's [PHPMailer-BMH](http://sourceforge.net/projects/bmh/).
- voku's [PHPMailer-BMH](https://github.com/voku/PHPMailer-BMH)
- mfrascati's [PHPMailer-BMH](https://github.com/mfrascati/PHPMailer-BMH)

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

[](#installation)

The recommended installation way is through [Composer](https://getcomposer.org).

```
$ composer require jonnylor63/bounce-mail-handler
```

Examples
--------

[](#examples)

If bounce\_type is "hard" the process use $bmh-&gt;moveHard and $bmh-&gt;hardMailbox If bounce\_type is "soft" the process use $bmh-&gt;moveSoft and $bmh-&gt;softMailbox If bounce\_type different from "hard" and "soft" the process use $bmh-&gt;moveOther and $bmh-&gt;otherMailbox

The email process try to understand :

1. standard DSN msg
2. not standard DSN msg
3. didn't get content-type header

If process fail the email will be deleted only if disableDelete is false and purgeUnprocessed is true

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~138 days

Recently: every ~396 days

Total

24

Last Release

1879d ago

Major Versions

v5.5.2 → v6.0.02018-11-09

PHP version history (2 changes)v5.2PHP &gt;=5.3.2

v6.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cb2e19029fd10dfe95f06e0b21f01b1ffbe90be7530900f5acb4f26fbba8c03?d=identicon)[giovanni.lorenzini](/maintainers/giovanni.lorenzini)

---

Top Contributors

[![voku](https://avatars.githubusercontent.com/u/264695?v=4)](https://github.com/voku "voku (88 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (18 commits)")[![jonnylor63](https://avatars.githubusercontent.com/u/8274367?v=4)](https://github.com/jonnylor63 "jonnylor63 (15 commits)")[![hippich](https://avatars.githubusercontent.com/u/361630?v=4)](https://github.com/hippich "hippich (12 commits)")[![mfrascati](https://avatars.githubusercontent.com/u/2734747?v=4)](https://github.com/mfrascati "mfrascati (5 commits)")[![JPPreusDev](https://avatars.githubusercontent.com/u/7678067?v=4)](https://github.com/JPPreusDev "JPPreusDev (2 commits)")[![ItsReddi](https://avatars.githubusercontent.com/u/3147888?v=4)](https://github.com/ItsReddi "ItsReddi (2 commits)")[![mikevrind](https://avatars.githubusercontent.com/u/594341?v=4)](https://github.com/mikevrind "mikevrind (1 commits)")

---

Tags

mailemailmailerbouncebounce-mailhard-bouncesoft-bounce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonnylor63-bounce-mail-handler/health.svg)

```
[![Health](https://phpackages.com/badges/jonnylor63-bounce-mail-handler/health.svg)](https://phpackages.com/packages/jonnylor63-bounce-mail-handler)
```

###  Alternatives

[voku/bounce-mail-handler

Bounce Mail Handler

49230.9k2](/packages/voku-bounce-mail-handler)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28160.6k](/packages/boundstate-yii2-mailgun)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)[sandstorm/templatemailer

Neos and Flow package for simple handling of template-based emails, including CSS inlining

1147.3k2](/packages/sandstorm-templatemailer)

PHPackages © 2026

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