after upgrade, phpmailer smtp had to be changed from localhost to mydomain.com
After an upgrade, my scripts stopped sending mails. I discoverd changing smtp server from "mydomain.com" to "localhost" solved this. After some time (and another upgrade) I had to revert the change to make it work.
Is there a way to avoid this? some mails are lost between the update and my fix (assuming I remember to change all the scripts...).
I am sorry if this has already been asked, I was unable to find it.
-
Are you provided with any sort of PHP Error? I use PHPMailer myself on a few projects and have never come across this. I'll be happy to help, if I can. 0 -
It is a problem with SMTP, every site using SMTP Auth fails. Server name isn't recognized 0 -
It works fine for me. This is why I am asking for any sort of error log. Check your public_html folder or wherever the page you send mail from is. There should be a file called "error_log". 0 -
Hello :) Could you elaborate on what you updated? Was it a cPanel update, did you run EasyApache, or was your PHP script upgraded? Thank you. 0 -
Cpanel automatic upgrade, nothing else 0 -
Could you open a support ticket using the link in my signature so we can reproduce this issue? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
6 comments