Skip to content

xima-media/xima-typo3-mailcatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension icon

TYPO3 extension xima_typo3_mailcatcher

Latest version Supported TYPO3 versions Total downloads Tests codecov Composer

A TYPO3 extension that 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 mail 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::getVarPath() . '/log/mail.log';

License

This project is licensed under GNU General Public License 2.0 (or later).