PHP Developers Network
http://forums.devnetwork.net/

SMTP error in phpmailer settings
http://forums.devnetwork.net/viewtopic.php?f=31&t=142194
Page 1 of 1

Author:  girish.k [ Wed Jan 20, 2016 2:20 am ]
Post subject:  SMTP error in phpmailer settings

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.

Author:  Christopher [ Wed Jan 20, 2016 7:05 pm ]
Post subject:  Re: SMTP error in phpmailer settings

Maybe try $conf['settings']['phpmailer']['smtp.secure'] = 'ssl';

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/