PHPackages                             we/swiftmailerspool - 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. we/swiftmailerspool

ActiveTypo3-flow-package[Mail &amp; Notifications](/categories/mail)

we/swiftmailerspool
===================

A Flow package to extend the Neos Swift Mailer by a spool for asynchronous mailing

22.1k1[1 PRs](https://github.com/webessentials/WE.SwiftMailerSpool/pulls)PHP

Since Mar 1Pushed 6y ago11 watchersCompare

[ Source](https://github.com/webessentials/WE.SwiftMailerSpool)[ Packagist](https://packagist.org/packages/we/swiftmailerspool)[ RSS](/packages/we-swiftmailerspool/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

This Flow package extends the [Neos Swift Mailer](https://github.com/neos/swiftmailer) by a spool for asynchronous mailing.

Configuration
-------------

[](#configuration)

The package is pre-configured to use a the file spool:

```
WE:
  SwiftMailerSpool:
	spool:
	  type: 'Swift_FileSpool'
	  options: []
	  arguments:
		path: %FLOW_PATH_DATA%/SwiftMailerSpool/

```

Usage
-----

[](#usage)

Different from the [Neos Swift Mailer](https://github.com/neos/swiftmailer), a `\Swift_Message` has to be created instead of using the `\TYPO3\SwiftMailer\Message` object. This is due to a problem on the serialization of the message that happens in the `\FileSpool` as the serialized `\TYPO3\SwiftMailer\Message` does not include its private parent properties of the `\Swift_Message`.

The process is the same as with the normal SwiftMailer library.

Inject the mailer interface which now is a `\Swift_SpoolTransport` object:

```
/**
 * @Flow\Inject
 * @var \TYPO3\SwiftMailer\MailerInterface
 */
protected $mailer;

```

Create the message:

```
$mail = new \Swift_Message();

```

Send the message with the mailer:

```
$this->mailer->send($mail);

```

Now, the mail is in the spool and can really be sent by the command:

```
./flow swiftmailerspool:flush

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14214935?v=4)[Web Essentials](/maintainers/webessentials)[@webessentials](https://github.com/webessentials)

---

Top Contributors

[![simstern](https://avatars.githubusercontent.com/u/2580285?v=4)](https://github.com/simstern "simstern (7 commits)")

### Embed Badge

![Health badge](/badges/we-swiftmailerspool/health.svg)

```
[![Health](https://phpackages.com/badges/we-swiftmailerspool/health.svg)](https://phpackages.com/packages/we-swiftmailerspool)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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