PHPMailer... worked before updates... now failing

One client using PHPMailer which will attempt to use his main mail server and if it fails it will attempt to use the localhost smtp on the web server.

Today… don’t know exactly what time… he started getting this error when attempting to send. This happens on both localhost and mail4.

[PHP]Error: Language string failed to load: connect_host[/PHP]

The error is what is read from $mail->ErrorInfo;

We have been testing it over the last 15 minutes… NOW one time it worked… but the remaining 10 attempts have failed.

Is this due to upgrades?

please open a ticket with domain name and other details and we will look in to this.

I did… I was directed to load the language file, but PHPMailer loads the english language by default. Nothing has changed in this code since it’s use so I figured something changed due to all the updates. Well today it is working again so I don’t know what changed. We haven’t made any changes on our end so something had to have been either altered on JH’s or perhaps a server reboot or something.

I hope it is resolved now?

I have been having same issue on windows server and just placed a ticket ZFP-31214-237.
What was the solution to fix this problem please?

Should be fine for you as well after you do the requested change :slight_smile:

no, still not working with mail8.mydomain.com.
I had already tried that including mail.mydomain.com and webmail.mydomain.com

For anyone else having similar issue with phpmailer, support recommended to change port 25 to port 587 in class.phpmailer.php script which did the trick.

Thanx to Jodohost support team