after upgrade, phpmailer smtp had to be changed from localhost to mydomain.com

enboig

Member
Apr 25, 2008
18
0
51
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.
 

enboig

Member
Apr 25, 2008
18
0
51
It is a problem with SMTP, every site using SMTP Auth fails. Server name isn't recognized
 

LostNerd

Well-Known Member
Mar 12, 2014
258
12
18
Hastings, East Sussex, UK
cPanel Access Level
Root Administrator
Twitter
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".
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
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.