PHP code example of mfd / typo3-mail-routing
1. Go to this page and download the library: Download mfd/typo3-mail-routing 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/ */
mfd / typo3-mail-routing example snippets
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mail_routing'] = [
'transports' => [
'special_smtp' => [
'transport' => 'smtp',
'host' => 'smtp.example.org',
'port' => 25,
// ... other SMTP settings
],
'sendmail' => [
'transport' => 'sendmail',
'command' => '/usr/sbin/sendmail -bs',
],
]
// Add more transport configurations as needed
];