Anyway to get more SMTP debug info?

829 views
Skip to first unread message

Chris Matzenbach

unread,
Nov 1, 2017, 5:36:23 PM11/1/17
to Easy!Appointments - Support Group
So I cannot get the emails working via SMTP, despite trying numerous solutions.  At first it was definitely the config on my server, but now I tested a basic PHP mail() function and it sent (and was received) just fine.  I was reading on the PHP Mailer wiki (https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) about setting SMTPDebug = 2, to get more info on the "Could not connect to SMTP Host" error.  Obviously the mail is being sent via an ajax call, so anytime I try to print info directly from engine/Notifications/Email.php it's not going to work, and setting $mailer->SMTPDebug = 2 in that file didn't work either.  Is there anyway I can get some more info out to see what is going wrong for me?

For the record, I'm running it on IIS and am trying to send via a separate mail server that is also on the local network.  I know IIS isn't technically supported, but everything has been working perfectly fine up until now (it may as well be listed as supported).

Thanks

Alex Tselegidis

unread,
Nov 5, 2017, 10:05:32 AM11/5/17
to Easy!Appointments - Support Group
Hi Chris, 

checkout the following page with the various email configuration options of CodeIgniter: 

https://www.codeigniter.com/user_guide/libraries/email.html?highlight=emails#email-preferences

These can be set inside the application/config/email.php file and later on the Email.php class will parse those and pass them to PHPMailer. 

If you SMTP server does not work I would suggest using a test GMail account and see if it works for you: 


Regards,

Alex

  Alex Tselegidis, Easy!Appointments Creator

  Need a customization? Contact me in person!

Reply all
Reply to author
Forward
0 new messages