t3 / mbox
TYPO3 CMS backend module to view mbox file contents, like an email client.
Installs: 1 077
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Type:typo3-cms-extension
Requires
- php: ^7.4 || ^8.0
- armin/mbox-parser: ^1.1
- typo3/cms-core: ^11.5 || ^12.0
This package is auto-updated.
Last update: 2023-11-08 21:46:47 UTC
README
TYPO3 CMS backend module to view mbox file contents, like an email client.
This extension has been supported by Institut der deutschen Wirtschaft Köln Medien GmbH
Screenshots
Inbox view
Detail view (with HTML output)
Detail view (with attachments)
Features
- Simple web mail client for emails stored in local mbox file
- Sort mails by date (asc/desc) and store choice in BE-User session
- 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 11.5 LTS or 12
- PHP >=7.4
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
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.
Debug setting
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 got the name mbox:testmails:send
and will send four test mails (with/without attachments).
Dev Environment
The extension repository provides a DDEV environment to develop on EXT:mbox locally in TYPO3 11 and 12. You find more information here.
Minimum instructions
ddev start ddev composer self-update ddev install-all
- Overview: https://mbox.ddev.site/
- TYPO3 11 Backend: https://v11.mbox.ddev.site/typo3/
- TYPO3 12 Backend: https://v12.mbox.ddev.site/typo3/
- Username:
admin
- Password:
Password:joh316
(also in install tool)