PHPackages                             baraja-core/emailer - 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. baraja-core/emailer

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

baraja-core/emailer
===================

Automation tool for e-mail distribution, queue management and advanced logging.

v1.2.2(3y ago)526.0k1[3 issues](https://github.com/baraja-core/emailer/issues)3PHPPHP ^8.0CI failing

Since Feb 10Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/baraja-core/emailer)[ Packagist](https://packagist.org/packages/baraja-core/emailer)[ Docs](https://github.com/baraja-core/emailer)[ RSS](/packages/baraja-core-emailer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (17)Versions (13)Used By (3)

Emailer
=======

[](#emailer)

Automation tool for e-mail distribution, queue management and advanced logging for Nette Framework with Doctrine ORM.

Main Principles
---------------

[](#main-principles)

- **Queue-based delivery** - E-mails are stored in database and sent asynchronously via daemon process
- **Template rendering** - Support for Latte, HTML and plain text templates with localization
- **Retry mechanism** - Failed e-mails are automatically retried up to 5 times with exponential backoff
- **Logging &amp; monitoring** - Complete audit trail of all sent e-mails with timing metrics
- **Garbage collection** - Automatic cleanup of old logs and message bodies
- **Recipient fixing** - Automatic typo correction for common e-mail domains (gmail.com, seznam.cz, etc.)

Architecture
------------

[](#architecture)

```
+------------------+     +------------------+     +------------------+
|                  |     |                  |     |                  |
|  Your App Code   |---->|     Emailer      |---->|  Database Queue  |
|                  |     |                  |     |  (Doctrine ORM)  |
+------------------+     +------------------+     +------------------+
                                                          |
                                                          v
+------------------+     +------------------+     +------------------+
|                  |     |                  |     |                  |
|   SMTP Server    |
