t3 / mbox
TYPO3 CMS backend module to view mbox file contents, like an email client.
Requires
- php: ^8.2
- armin/mbox-parser: ^2.1
- typo3/cms-core: ^13.4 || ^14.3
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
TYPO3 CMS backend module to view mbox file contents, like an email client.
Screenshots
Inbox view
Detail view (with HTML output)
Detail view (with attachments)
Features
- Simple web mail client for emails stored in local mbox file
- Configurable pagination
- Possibility to disable the backend module
- Support for very large mbox files
- HTML and text viewer
- Download attachments separately
- Download whole mail message as EML file (e.g. for Microsoft Outlook)
- Clear mbox (delete all mails) action
- Provides RFC 4155 compliant mbox mail transport (
T3\Mbox\MboxTransport)
Requirements
- TYPO3 13.4 LTS or 14.3 LTS
- PHP >=8.2
For TYPO3 12.4 LTS, use EXT:mbox 3.1.0. For TYPO3 11.5 LTS, use version 2.1.
Installation
Just install the extension, like any other TYPO3 CMS extension.
Link to TER: https://extensions.typo3.org/extension/mbox
For Composer, you can use:
composer require t3/mbox
If you are upgrading an existing Composer installation, update the extension
and its parser dependency together. The extension now requires
armin/mbox-parser 2.1 or later
within the 2.x series.
composer update t3/mbox armin/mbox-parser --with-all-dependencies
For TER release builds, see the bundled dependency instructions.
Configuration
To make EXT:mbox work you need to configure the TYPO3 mail configuration to use mbox, like this:
<?php $GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = 'T3\Mbox\MboxTransport'; $GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_mbox_file'] = '/var/www/html/path/to/mbox-file.mbox';
If you have different transport configured, the backend module will display an error notice.
Extension Settings
In extension settings (under Admin Tools > Settings > Extension Configuration) you have two options:
Mails per page
The amount of mails being displayed per page. Default: 10
Debug mode
For debugging and testing purposes, there is a Symfony command shipped, which becomes only available, when you enable the debug mode in Extension configuration.
Don't forget to clear all caches from install tool, after enabling the debug mode.
The command mbox:testmails:send sends six test mails (with and without attachments).
Dev Environment
The extension repository provides a DDEV environment with PHP 8.4 for TYPO3 13.4 and 14.3. You find more information here.
Minimum instructions
ddev start ddev install-all
To install only one version, run ddev install-v13 or ddev install-v14 instead of ddev install-all.
If you already have a local environment, run ddev restart to apply the new
configuration. This preserves the v13 and v14 installations.
For a clean start, ddev delete -Oy removes the configured local installations and their data.
- Overview: https://mbox.ddev.site/
- TYPO3 13 Backend: https://v13.mbox.ddev.site/typo3/
- TYPO3 14 Backend: https://v14.mbox.ddev.site/typo3/
- Username:
admin - Password:
Password:joh316(also in install tool)


