UPDATE:
June 15th, 2020 has come and gone. This means that if you wish to use Gmail or Google G Suite to send email from your Joomla! website you must do so using an "Application Specific Password". Keep reading to learn how to do this.
Most likely, if you are reading this, it is because you use G Suite for your domain email and you received an email from Google stating that they "will be turning off access to less secure apps (LSA)" in 2 stages. The first stage will be June 15th, 2020 so users who try to connect to an LSA for the first time will not be able to. The email also said "Starting February 15, 2021, G Suite accounts will only allow access to apps using OAuth. Password-based access will no longer be supported". Now, you're probably left wondering if your Joomla website will still be able to send mail through your G Suite account because there is no interface in Joomla's Global Configuration for OAuth.
You're not alone. The wording of the email G Suite sent has left many people confused, particularly due to the fact that it says it will "only allow access to apps using OAuth" and that "Password-based access will no longer be supported". What they do not mention in the email is that an App Password uses a sub-protocol of OAuth. So even though an Application Specific Password is a password, and they say "password-based access will no longer be supported", sending mail from your Joomla website via G Suite with an App Password will work.
N8 Solutions Opens in new window is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! Opens in new window name and logo are used under a limited license granted by Open Source Matters Opens in new window the trademark holder in the United States and other countries.
CloudLinux Opens in new window , the CloudLinux Logo, KernelCare, the KernelCare Logo, Imunify360 Opens in new window and the Imunify360 Logo are trademarks or registered trademarks of CloudLinux, Inc.