Hi,

As per the title, we are getting this SMTP authentication error. The mailer error log is:

Unable to email via SMTP:smtp.gmail.com:25 [support@<removed>.co.uk] Failed to add recipient: <<removed>> [SMTP: Invalid response code received from server (code: 550, response: Authentication failed)]

The Gmail account is part of a Google business package (not sure if relevant) and has 2FA enabled and also a special app password configured for OSTickets.

Thank you!

    alexx88 Not sure, but I do know that my app passwords no longer work on my free gmail account. Maybe they disabled them for business accounts as well.

      alexx88

      I will mention that you are attempting to authenticate against Port 25 which is a relay port that doesn't need authentication. You should really be using Port 587 with Authentication Required checked. You can see their recommended connection information here:

      If it's still not working after the above recommendations it'd be worth reaching out to your mail provider to ask them why authentication is no longer working.

      Cheers.

        I'd like to note that 1.12.x is end of life and no longer supported.
        You should really upgrade to a much more contemporary version.

        KevinTheJedi
        Have tried both 587 and 465, with no success unfortunately. When you say reaching out to my email provider, who do you mean? Isn't it Google / Gmail?

          alexx88

          Yes, reach out to them to see why it’s not letting you authenticate. As far as osTicket is concerned everything is fine just Gmail will not accept authentication. They don’t provide detailed errors so reaching out to them they will be able to look deeper and tell you what’s going on.

          Cheers.

          alexx88 Not sure. All I know is that things that I had programmed to use SMTP via Google, no longer work and I can no longer configure app passwords. Most providers treat submitting vs receiving a little differently and are a little more strict of submitting email for obvious reasons.

          Write a Reply...