- Posts: 5
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
1 year 6 months ago - 1 year 6 months ago #232227
by netikja
OAuth 2.0 support for sending e-mails via SMTP was created 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
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 6 months ago by netikja.
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
1 year 6 months ago #232241
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic OAuth 2.0 support for sending e-mails via SMTP
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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13622
- Thank you received: 2489
1 year 6 months ago #232370
by DenisChenu
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.
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
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.