If your authentication is failing, there are several likely causes: Generally, you do not want to send a username or password over an unencrypted link.Some SMTP authentication schemes do add a minimal level of security (sending short hashes rather than clear text), but these provide only minimal protection, and so most servers do not allow authentication without encryption. From December 2014, Google started imposing an authentication mechanism called XOAUTH2 based on OAuth2 for access to their apps, including Gmail.Recent Commits: Summary | RSS Feed Mutt 1.9.3 was released on January 27, 2018. To a large extent, Mutt is still very ELM-like in presentation of information in menus (and in fact, ELM users will find it quite painless to switch as the default key bindings are identical).
If you find your script works on your local machine, but not when you upload it to Go Daddy, this will be what's happening to you.
If you see an error like If you're running PHP-FPM via fastcgi, you may need to apply this to the fpm daemon rather than httpd.
Some service providers (including Digital Ocean) provide IPv6 connectivity for servers but block outbound SMTP over IPv6 while allowing it on IPv4.
Whatever problem you're having, first make sure you are using the latest PHPMailer.
If you have based your code on an example you found somewhere other than here on Git Hub, it's very probably outdated - base your code on the examples in the examples folder.