SMTP error in phpmailer settings
Posted by: girish (194.165.146.---)
Date: January 20, 2016 09:31AM

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 help me in this regard.

Thanks in advance.

Options: ReplyQuote
Re: SMTP error in phpmailer settings
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: January 20, 2016 10:48AM

I would start by checking this parameter

$conf['settings']['phpmailer']['sendmail.path'] = '/usr/sbin/sendmail';

as there is no such folder on a windows system, normally

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: SMTP error in phpmailer settings
Posted by: girish (194.165.146.---)
Date: January 26, 2016 10:56AM

Hi RiggsFolly,

Its working fine now. I changed the smtp.secure to ssl and mailer to smtp. Now its perfect.

Thanks.

Options: ReplyQuote


Sorry, only registered users may post in this forum.