Anyone know how to configure phplist to use Gmail SMTP server?
Any advise? Thanks a lot for advice in advance
Based on this page https://github.com/PHPMailer/PHPMailer/blob/master/examples/gmail.phps
I added the following to my config.php.
define("PHPMAILERHOST",'smtp.gmail.com');
$phpmailer_smtpuser = '[email protected]';
$phpmailer_smtppassword = 'password';
define('PHPMAILERPORT','587');
define("PHPMAILER_SECURE",'tls');
No other changes were needed.
I did get a warning from Google that an attempt was made to access to my account and it was blocked. I had to follow the steps to allow the connection.
https://support.google.com/accounts/answer/6010255