Gmail SMTP authentication failed

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
cmolony1
Posts: 1
Joined: Wed Jun 22, 2022 4:52 pm

Gmail SMTP authentication failed

Post by cmolony1 »

Dear support forum,

We have been using Hesk for a while as our support ticket system. Since we set it up, we have been using Gmail SMTP as our preferred mail method, and it worked. However, it has stopped working. We are now not receiving emails at all from the ticket system. When we test the SMTP connection, we get this error: "535-5.7.8 Username and Password not accepted". Looking it up, it has to do with the "Less secure app access" setting being removed by Gmail as of the end of May.

I was wondering if anyone had a solution to fix this, or if a fix is being created in a new release. We don't want to use PHP mail, as Gmail flags those as potentially unsafe (which would put off our users).
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Gmail SMTP authentication failed

Post by Klemen »

It still works, but you need to use App passwords, not your Gmail password:
https://support.google.com/accounts/answer/185833

The article mentions this:
https://www.hesk.com/knowledgebase/?article=72
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mayadesk
Posts: 7
Joined: Thu Jul 14, 2022 6:45 pm

Re: Gmail SMTP authentication failed

Post by mayadesk »

Image
Post Reply