cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PHPMailer stopped working about two weeks ago

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->isSMTP();

    $m->Host = 'relay-hosting.secureserver.net';
    //$m->SMTPDebug  = 2;
    
    $m->Port = 25;
    $m->SMTPAuth = false;
    $m->SMTPSecure = false;
    
    $m->CharSet  = "UTF-8";

    $m->From = 'office@ourdomain.com';
    $m->FromName = 'OUR COMPANY';
    $m->AddAddress($userEmail);

 

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.

Thanks

2 REPLIES 2
Community Manager
Community Manager

Re: PHPMailer stopped working about two weeks ago

If you haven't made any updates, it would be hard to determine what changed to make the mail stop working properly.  Have you tested another email address in the mailer to see if that makes a difference?  

Re: PHPMailer stopped working about two weeks ago

Most likely Godaddy is blocking it