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
1 year 10 months ago - 1 year 10 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: 1 year 10 months ago by netikja.

Please Log in to join the conversation.

More
1 year 9 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
  • LimeSurvey Community Team
More
1 year 9 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 service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose