PHPackages                             rm/filemailer - 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. rm/filemailer

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

rm/filemailer
=============

Addon for catching e-mails in Nette FW to filesystem and showing it in the Debug Bar.

0.3.2(11y ago)512.1k3MITPHPPHP &gt;=5.3.0

Since Nov 18Pushed 10y ago4 watchersCompare

[ Source](https://github.com/romanmatyus/FileMailer)[ Packagist](https://packagist.org/packages/rm/filemailer)[ Docs](https://github.com/romanmatyus/FileMailer)[ RSS](/packages/rm-filemailer/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (6)Used By (0)

FileMailer
==========

[](#filemailer)

E-mails catching addon for [Nette Framework](http://nette.org). Emails are stored into files and shown in Tracy bar.

**!WARNING!** - After setting up this addon, all e-mails are not sent, but ONLY stored on filesystem and shown in Tracy bar.

[![Demo](https://camo.githubusercontent.com/021f159d2308b24d59214224dfd2e607a776459daa5a1ddccd32bee80df0fab9/687474703a2f2f6934312e74696e797069632e636f6d2f743975757a712e706e67)](https://camo.githubusercontent.com/021f159d2308b24d59214224dfd2e607a776459daa5a1ddccd32bee80df0fab9/687474703a2f2f6934312e74696e797069632e636f6d2f743975757a712e706e67)

Killer features
---------------

[](#killer-features)

- Simple instalation
- Extensive configuration options
- Full access to headers
- Plain text and HTML output
- Possibility to download the attachments
- Parser caching

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

[](#installation)

Add package to your project by the [Composer](https://getcomposer.org/):

```
composer require rm/filemailer

```

or download addon manually from [GitHub](https://github.com/romanmatyus/FileMailer/releases) and unpack it in place indexed by RobotLoader.

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

[](#configuration)

The addon consists of two parts. The first one is the `FileMailer` which replaces the [IMailer](api.nette.org/Nette.Mail.IMailer.html) service and stores e-mails to filesystem. The second one is the `MailPanel` which is the Tracy bar panel and shows e-mails stored by FileMailer.

Default options are used in following examples.

### Setup by extension

[](#setup-by-extension)

Register new compiler extension in `config.neon` and optionally configure:

```
extensions:
	mailer: RM\MailPanel\DI\MailPanelExtension

mailer:
	newMessageTime: '-2 seconds'    # how long consider email as new
	show: [subject, from, to]       # which headers show in overview
	autoremove: '-5 seconds'        # how old emails are purged
	hideEmpty: yes                  # hide bar icon when no emails?
	debugger: yes                   # enable Tracy bar
	tempDir: '%tempDir/mails'       # change e-mails store directory

```

### Manual setup

[](#manual-setup)

Replace the Nette's default IMailer service and register Tracy bar panel:

```
services:
	mail.mailer: RM\FileMailer(%tempDir%/mails)

	mailerPanel:
		class: RM\MailPanel
		autowired: no
		setup:
			- setFileMailer(@mail.mailer)	# required
			- $newMessageTime('-5 seconds')
			- $show([subject, from, to])
			- $autoremove('-5 seconds')
			- $hideEmpty(yes)

tracy:
	bar:
		- @mailerPanel

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~186 days

Total

5

Last Release

3866d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1110294?v=4)[Roman Mátyus](/maintainers/romanmatyus)[@romanmatyus](https://github.com/romanmatyus)

---

Top Contributors

[![milo](https://avatars.githubusercontent.com/u/439140?v=4)](https://github.com/milo "milo (17 commits)")[![romanmatyus](https://avatars.githubusercontent.com/u/1110294?v=4)](https://github.com/romanmatyus "romanmatyus (15 commits)")[![hrasekj](https://avatars.githubusercontent.com/u/6674565?v=4)](https://github.com/hrasekj "hrasekj (3 commits)")

---

Tags

debugbarnettemailmailerdebuging

### Embed Badge

![Health badge](/badges/rm-filemailer/health.svg)

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

###  Alternatives

[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

54010.2M282](/packages/nette-mail)[nette/web-project

Nette: Standard Web Project

10993.3k](/packages/nette-web-project)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

911.7M6](/packages/nette-code-checker)[nextras/mail-panel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them in debugger bar.

741.2M4](/packages/nextras-mail-panel)[tomaj/nette-api

Nette api

36273.2k8](/packages/tomaj-nette-api)[contributte/mailing

Sending emails with pleasure and prepared templates.

17966.3k2](/packages/contributte-mailing)

PHPackages © 2026

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