PHPackages                             adt/background-queue-mailer - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. adt/background-queue-mailer

AbandonedArchivedLibrary[Queues &amp; Workers](/categories/queues)

adt/background-queue-mailer
===========================

Delegate sending emails to adt/background-queue.

v2.0(3y ago)011.9k2BSD-3-ClausePHP

Since Jul 26Pushed 3y ago12 watchersCompare

[ Source](https://github.com/AppsDevTeam/background-queue-mailer)[ Packagist](https://packagist.org/packages/adt/background-queue-mailer)[ RSS](/packages/adt-background-queue-mailer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

Background Queue Mailer
=======================

[](#background-queue-mailer)

Delegates sending emails to [adt/background-queue](https://github.com/AppsDevTeam/background-queue).

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

[](#installation)

```
composer require adt/background-queue-mailer

```

Usage
-----

[](#usage)

```
services:
	smtpMailer:
		class: \Nette\Mail\SmtpMailer
		autowired: no # this is important

	nette.mailer: \ADT\Mail\BackgroundQueueMailer\Mailer(@smtpMailer, 'backgroundMail')

backgroundQueue:
	callbacks:
		backgroundMail: @nette.mailer::process
```

where `@smtpMailer` is outgoing mailer, and `backgroundMail` is unique callback name.

Callback name has to be same in both mailer definition and BackgroundQueue callback list. If they are not, warning is logged using Tracy. This should get resolved [here](https://github.com/AppsDevTeam/BackgroundQueue/issues/8).

The `autowired: no` option is important because Nette DI container would not know which `\Nette\Mail\IMailer` to inject in your application. By setting `autowired: no` on SMTP mailer only one instance of `IMailer` interface remains.

You cannot set `autowired: no` on `nette.mailer` because your application would not be able to inject it.

It is also important that you autowire `\Nette\Mail\IMailer` throughout your application.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~251 days

Recently: every ~380 days

Total

8

Last Release

1453d ago

Major Versions

v1.2.2 → v2.02022-05-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/5575ff5b286a1982356d8ed7d8fc9f44385b44ef1108f34ac8c71b106d0c69ec?d=identicon)[michallohnisky](/maintainers/michallohnisky)

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

---

Top Contributors

[![thorewi](https://avatars.githubusercontent.com/u/605858?v=4)](https://github.com/thorewi "thorewi (6 commits)")[![michallohnisky](https://avatars.githubusercontent.com/u/4747059?v=4)](https://github.com/michallohnisky "michallohnisky (3 commits)")[![MichalSzekeres](https://avatars.githubusercontent.com/u/22456043?v=4)](https://github.com/MichalSzekeres "MichalSzekeres (1 commits)")

### Embed Badge

![Health badge](/badges/adt-background-queue-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/adt-background-queue-mailer/health.svg)](https://phpackages.com/packages/adt-background-queue-mailer)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

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