A PHP 5.3 compatible Mail_Queue port.
PHP
Pull request Compare This branch is even with pear2:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
src/PEAR2/Mail
tests
.gitignore
README.md
build.xml
composer.json
package.xml
phpunit.xml

README.md

Mail_Queue

A PHP5 port of the Mail_Queue package.

The API is very similar except for:

  • PHP 5.3 minimum (new \PEAR2\Mail\Queue(...);)
  • visibility of all methods is enforced
  • no dependency on PEAR
  • throws exceptions in most cases
  • non-fatal error are still with hasErrors() and getErrors()

Install

Until I get to PEAR2, just use composer.

TODO

  • add a container for Doctrine2 (ORM or DBAL?)
  • add support for Swiftmailer
  • investigate better queues than RDBMS