Last active
January 23, 2020 05:24
-
-
Save josefglatz/44abd21984b16cf035888030493f17eb to your computer and use it in GitHub Desktop.
TYPO3 MAIL settings for Gmail / G-Suite TLS connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
// Override configuration of LocalConfiguration | |
$customChanges = [ | |
'MAIL' => [ | |
'defaultMailFromAddress' => '[email protected]', | |
'defaultMailFromName' => 'My Name', | |
'transport' => 'smtp', | |
'transport_smtp_encrypt' => 'tls', | |
'transport_smtp_password' => 'myPassWordBro', | |
'transport_smtp_server' => 'smtp.gmail.com:587', | |
'transport_smtp_username' => '[email protected]', | |
], | |
]; | |
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive($GLOBALS['TYPO3_CONF_VARS'], $customChanges); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment