Google SMTP auth failure

4 views
Skip to first unread message

Curt Lundgren

unread,
Apr 26, 2025, 5:53:08 PMApr 26
to NLUG
I have a Python script that sends a newsletter once a day, it has worked well until about a week ago.  My friend Google has apparently changed something; now I get a 535 error, 5.7.8 user name and password not accepted.

Some searching has only brought up results from a few years ago.  This script reliably worked until a week ago and now fails.  Google has changed something and now bits are flying everywhere.

This needs to get fixed, and hopefully soon.  I can refer readers to a web page which has the same content, but the Email is much more convenient.

To quote Wimpy, I'll gladly pay you Tuesday for a mail fix today.

Thanks in advance for your help.
Curt

Chris McQuistion

unread,
Apr 26, 2025, 7:27:15 PMApr 26
to nlug...@googlegroups.com
Google has stopped accepted email over SMTP (even secure SMTP) and is rolling out requirements for OAuth authentication to send email, period. Legacy apps just aren’t going to work with Google any more. 

We use and recommend SMTP2Go as an easy SMTP provider that can be set up to work with just about anything.  

Chris 

Sent from my iPhone

On Apr 26, 2025, at 4:53 PM, Curt Lundgren <veri...@gmail.com> wrote:


--
--
You received this message because you are subscribed to the Google Groups "NLUG" group.
To post to this group, send email to nlug...@googlegroups.com
To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/nlug-talk/CADPPtrodBRNFYNAY7JwhDe-H7gRhKo9dCK0DsUv6%2BHcc_gED0w%40mail.gmail.com.

Gibson Prichard

unread,
Apr 26, 2025, 10:27:42 PMApr 26
to nlug...@googlegroups.com
I have seen this as well but Google does have three ways to use their SMTP server, including a static ip address or an “app password,” which is letters and spaces. I had this happen to a FreePBX that I maintain a few weeks ago and I setup Postfix to relay it using the app password from Google. See for more. 

Gibson Prichard
Nashville, TN


Chris McQuistion

unread,
Apr 27, 2025, 7:50:32 AMApr 27
to nlug...@googlegroups.com
They have been removing the app password functionality from accounts and domains on a phased basis, so it may already be removed for you or could be removed soon. 

Chris 

Sent from my iPhone

On Apr 26, 2025, at 9:27 PM, 'Gibson Prichard' via NLUG <nlug...@googlegroups.com> wrote:



Curt Lundgren

unread,
Apr 27, 2025, 1:00:55 PMApr 27
to nlug...@googlegroups.com
Thanks, everyone, I'll see what SMTP2Go has to offer.

Reply all
Reply to author
Forward
0 new messages