Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

OAuth 2.0 support for sending e-mails via SMTP

  • netikja
  • netikja's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 months ago - 2 years 2 months ago #232227 by netikja
Please help us help you and fill where relevant:
Your LimeSurvey version: [Community 5.2.7+211221]
Own server or LimeSurvey hosting: own server
Survey theme/template: irrelevant
==================

Hi,

as you might have noticed, Google dropped the support of so-called less secure apps ( support.google.com/accounts/answer/6010255?hl=en ) for non-Workspace accounts (these will be affected later). The only solution to keep using SMPT access for LS is to enable 2FA and create an individual app password, which is an issue for shared accounts. The solution on LS side seems to be in providing OAuth 2.0 Mechanism ( developers.google.com/gmail/imap/xoauth2-protocol ) support. Do you plan this? Is there another way to keep the functionality?

Many thanks for any information or tips!

Jan

EDIT: PHPmailer points to "less secure apps" discontinuation here  github.com/PHPMailer/PHPMailer/wiki/Trou...low-less-secure-apps
Last edit: 2 years 2 months ago by netikja.

Please Log in to join the conversation.

More
2 years 2 months ago #232241 by jelo
I don't see many request for the feature here in forum.
You can support this feature request from 2019.
bugs.limesurvey.org/view.php?id=15664

Currently you will need to use "app passwords" or use an external mailing software.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 2 months ago #232370 by DenisChenu
Replied by DenisChenu on topic OAuth 2.0 support for sending e-mails via SMTP
PHPMailer have a OAuth system,
You can set PHPMailer on your way with beforeEmail event

Then : you can construct a plugin

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose