xima / xima-typo3-mailcatcher
Display mails that were send to log file
Installs: 9 333
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- typo3/cms-core: >=10.0.0
- zbateson/mail-mime-parser: ^2.4
Requires (Dev)
- bk2k/bootstrap-package: dev-master
- clue/phar-composer: ^1.0
- friendsofphp/php-cs-fixer: ^3.12
- phpmd/phpmd: ^2.13.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.6
- roave/security-advisories: dev-master
- saschaegerer/phpstan-typo3: ^1.8
- ssch/typo3-rector: ^1.0
- typo3/cms-base-distribution: ^12.4
This package is auto-updated.
Last update: 2024-04-30 00:51:36 UTC
README
This TYPO3 extension adds a backend module to view emails that were send to file.
Installation
composer require xima/xima-typo3-mailcatcher
Configuration
No extension configuration needed!
To prevent TYPO3 from sending emails, change the transport to mbox
(see official TYPO3 Mail-API). This way TYPO3 writes the outgoing emails to a log file that you can specify via transport_mbox_file
. The path musst be absolute.
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = 'mbox';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_mbox_file'] = \TYPO3\CMS\Core\Core\Environment::getProjectPath() . '/var/log/mail.log';