SMTP error in phpmailer settings

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
girish.k
Forum Newbie
Posts: 5
Joined: Mon Jan 18, 2016 12:54 am

SMTP error in phpmailer settings

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13592
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: SMTP error in phpmailer settings

Post by Christopher »

Maybe try $conf['settings']['phpmailer']['smtp.secure'] = 'ssl';
(#10850)
Post Reply