Loomborn wrote: ↑
Fri Aug 09, 2019 6:58 pm
...would it be possible to use GSuites to send emails to all my forum members from the ACP’s “send mass email” button?
It appears that at least back in 2018 when this discussion was occurring, in order to send SMTP email using the Google Gmail SMTP servers, you had to first enable "Allow less secure apps" in the Gmail account settings, in order to allow the SMTP access to work "at all." I'm not a Gmail user who would know first-hand, but I presume that's still true.
Someone who used Google G-Suites to manage their email (instead of just a regular Gmail account) confirmed that the same was true for a G-Suites managed email account. Except that the setting was found in the G-Suites Admin Centre Security Settings, and was called "Allow users to manage their access to less secure apps". So if you have a G-Suites managed email account, presumably that's where you can expect to find this same setting.
If your phpBB site is able to use an external SMTP server at all (meaning, your hosting service doesn't block external SMTP communication, and doesn't force you to use the SMTP or PHP mail() service available on localhost), then it should be able to use a Google G-Suite managed email account's SMTP access, too.
Because "it's just another external SMTP server" from phpBB's perspective, and phpBB isn't doing anything G-Suite or non-G-Suite specific. The "Allow users to manage their access to less secure apps" aspect is in regard to how SMTP must be enabled for the Google-managed email account itself; regardless of whether you're enabling it with an intention to use phpBB with SMTP, or any other SMTP-enabled application.
If you are able to connect with Google's SMTP servers from the hosting account where you are running phpBB, note that you likely still need to apply this updated functions_messenger.php first
. Because I believe it's been previously confirmed that Google's SMTP servers are among the many SMTP servers which no longer allow TLS 1.0 or lower to be negotiated. This issue will be addressed in the future phpBB 3.2.8 and later; but for current phpBB 3.2.7 installation you would have to apply the updated functions_messenger.php yourself.