Try port 587

This commit is contained in:
Karl Cordes 2020-11-03 21:34:44 +11:00
parent 861df463af
commit cbcaa9ad6c

View file

@ -41,18 +41,20 @@ error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
* In production mode, flash messages redirect after a time interval. * In production mode, flash messages redirect after a time interval.
* In development mode, you need to click the flash message to continue. * In development mode, you need to click the flash message to continue.
*/ */
Configure::write('debug', 1); Configure::write('debug', 0);
Configure::write('version', '1.0.1'); Configure::write('version', '1.0.1');
$host = $_SERVER['HTTP_HOST']; $host = $_SERVER['HTTP_HOST'];
Configure::write('smtp_settings', array( Configure::write('smtp_settings', array(
'port' => '25', 'port' => '587',
'timeout' => '60', 'timeout' => '60',
'host' => 'smtp-relay.gmail.com', 'host' => 'smtp-relay.gmail.com',
'username' => 'sales', 'username' => 'sales',
'password' => 'S%s\'mMZ})MGsg$k!5N|mPSQ>}')); 'password' => 'S%s\'mMZ})MGsg$k!5N|mPSQ>}',
'tls' => true
));