We have set up PHPMailer on our GoDaddy hosted website. We are aware of the particular settings GoDaddy requires in order for the plugin to work so we used those.
$m = new PHPMailer;
$m->Host = 'relay-hosting.secureserver.net';
//$m->SMTPDebug = 2;
$m->Port = 25;
$m->SMTPAuth = false;
$m->SMTPSecure = false;
$m->CharSet = "UTF-8";
$m->From = 'firstname.lastname@example.org';
$m->FromName = 'OUR COMPANY';
This worked perfectly for months, but about a week ago we started getting:
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
We haven't touched the code for months so it's not something we changed.
Has anyone run into this issue in the last couple weeks? Any ideas on how to solve it? I've been on customer support with GoDaddy for over an hour and that did not help at all.