Trying to use postfix to relay

This commit is contained in:
Karl Cordes 2020-11-04 06:45:14 +11:00
parent cbcaa9ad6c
commit cb59d790b1

View file

@ -47,16 +47,19 @@ 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' => '587', '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
)); ));
*/
Configure::write('smtp_settings', array(
'port' => '25',
'timeout' => '30',
'host' => '172.17.0.1'));
//Production/Staging Config //Production/Staging Config