backdrop-contrib / smtp

Backdrop CMS port of the SMTP module for Drupal 7
GNU General Public License v2.0
4 stars 5 forks source link

Implement OAuth to support Gmail/GSuite accounts #18

Closed bugfolder closed 1 year ago

bugfolder commented 2 years ago

As of May 30, 2022, Google has required OAuth authorization for Gmail accounts, and while ordinary SMTP (a.k.a. "Less Secure App access) is still possible with Google Workspace (formerly GSuite) accounts, they have indicated that they will be turning this off in the future as well.

This has been recognized in the Drupal version(s) of this module, and there are currently issues and patches for both D7 and D8:

Drupal 7 issue Drupal 8 issue

In both cases, the submitted patches create a new submodule, smtp_oauth, that provides OAuth authentication.

I have ported the D7 patch to this Backdrop module. PR to follow shortly.