Page 1 of 1

SMTP error in phpmailer settings

Posted: Wed Jan 20, 2016 1:20 am
by girish.k
Hi folks,

I configured phpmailer like this

['settings']['phpmailer']['smtp.host'] = 'smtp.gmail.com';
$conf['settings']['phpmailer']['smtp.port'] = '465';
$conf['settings']['phpmailer']['smtp.secure'] = 'tls';
$conf['settings']['phpmailer']['smtp.auth'] = 'true';
$conf['settings']['phpmailer']['smtp.username'] = 'myname@gmail.com';
$conf['settings']['phpmailer']['smtp.password'] = 'mypassword';
$conf['settings']['phpmailer']['sendmail.path'] = '/usr/sbin/sendmail';

after creating a reservation in booked i'm getting this warning and mail was not delivered.
SMTP -> FROM SERVER:
SMTP -> NOTICE: EOF caught while checking if connectedSMTP -> FROM SERVER:
SMTP -> NOTICE: EOF caught while checking if connected


Could you please help me in this regard.

Thanks in advance.

Re: SMTP error in phpmailer settings

Posted: Wed Jan 20, 2016 6:05 pm
by Christopher
Maybe try $conf['settings']['phpmailer']['smtp.secure'] = 'ssl';