CodeIgniter Forums
Oauth SMTP authentication support? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Oauth SMTP authentication support? (/showthread.php?tid=90604)



Oauth SMTP authentication support? - CIDave - 04-09-2024

hi!
Google is removing the ability for Google Workspace users to use their SMTP service using just Username and Password. Instead, they will be requiring Oauth to sign in and authenticate using their SMTP servers.
We've been using Google's SMTP for sending emails on our site. But in September 2024, they'll be turning off the ability to use your username and password.
Is there any support for using Oauth with the current email config?
https://support.google.com/accounts/answer/6010255?hl=en


RE: Oauth SMTP authentication support? - JustJohnQ - 04-09-2024

Check:
https://github.com/datamweb/shield-oauth


RE: Oauth SMTP authentication support? - kenjis - 04-09-2024

See https://github.com/PHPMailer/PHPMailer/wiki/Gmail-XOAUTH2-Using-Google-API-Client