Configuring SMTP for Gmail as described will trigger
"535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials"
GMail only supports OAuth and 2FA/App Passwords these days; the "less secure apps" option (which would be needed for the described SMTP setup) has been removed.
Details
- Reviewers
valerio.bozzolan - Group Reviewers
O1: Blessed Committers - Commits
- rP7ff426a2bdfc: Diviner: Configuring Outbound Mail: Remove incorrect Gmail references
Follow the docs; set up cluster.mailers config setting in Phorge; run ./bin/mail send-test --to admin --subject subject < ~/foo and fail.
Optionally, watch https://www.youtube.com/watch?v=Y_u5KIeXiVI for your personal corporate excitement.
Diff Detail
- Repository
- rP Phorge
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Small question: if an user migrates from gmail.com "less secure apps" to gmail.com "App Passwords", isn't that the very same thing?
I assume that also after this change, "External SMTP" and "ssl" still applies to gmail.com.
Anyway I'm in general OK about avoiding sort of promotion of gmail.com in official documentation, especially if it's a mess to setup gmail.com, and especially if we don't have practical examples, and especially if nothing else is mentioned, and keeping these info up to date is a mess...
Not sure what "that" means... in my understanding, Google's "app passwords" means OAuth.