jonnylor63/bounce-mail-handler

Bounce Mail Handler

Installs: 49

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 44

pkg:composer/jonnylor63/bounce-mail-handler

v6.1.0 2021-03-17 10:36 UTC

README

Build Status codecov.io Scrutinizer Code Quality Codacy Badge SensioLabsInsight Latest Stable Version Total Downloads Latest Unstable Version License

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

Bounce Mail Handler

WARNING: This is a Extended-Fork of:

Installation

The recommended installation way is through Composer.

$ composer require jonnylor63/bounce-mail-handler

Examples

https://github.com/jonnylor63/PHPMailer-BMH/tree/main/examples

If bounce_type is "hard" the process use $bmh->moveHard and $bmh->hardMailbox If bounce_type is "soft" the process use $bmh->moveSoft and $bmh->softMailbox If bounce_type different from "hard" and "soft" the process use $bmh->moveOther and $bmh->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