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 2mo 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 37% 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://www.gravatar.com/avatar/b465deb7146e0950315de6455f720d4b1667772868165d36df9ec140d3f20f1e?d=identicon)[webessentials](/maintainers/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

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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