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

v1.3.2 2023-10-31 18:58 UTC

README

This TYPO3 extension adds a backend module to view emails that were send to file.

backend_module

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';