PHP code example of r3h6 / typo3-mail-catcher

1. Go to this page and download the library: Download r3h6/typo3-mail-catcher library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

r3h6 / typo3-mail-catcher example snippets


$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = \R3H6\MailCatcher\Mail\Transport\MailCatcherTransport::class;