- Posts: 13
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to configure SMTP using Google SMTP Relay (for Google Workspace)
- bscwebmaster
- Topic Author
- Offline
- New Member
Less
More
9 months 3 weeks ago - 9 months 3 weeks ago #244836
by bscwebmaster
How to configure SMTP using Google SMTP Relay (for Google Workspace) was created by bscwebmaster
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.28+230627
Own server or LimeSurvey hosting: own server
Survey theme/template: Fruity
==================
It seems using the "PHP" option as the Email Method works very poorly. The majority of invitations are not delivered to the participants, not even making it to their spam folders.
As we are using a Google Workspace, I have used the SMTP Relay feature as described here: (option 1) support.google.com/a/answer/176600 and here: support.google.com/a/answer/2956491
I created a special account for this purpose and then, while logged in to that account, visited myaccount.google.com/apppasswords to create an App Password.
I chose the following in the LimeSurvey email settings tab:
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.28+230627
Own server or LimeSurvey hosting: own server
Survey theme/template: Fruity
==================
It seems using the "PHP" option as the Email Method works very poorly. The majority of invitations are not delivered to the participants, not even making it to their spam folders.
As we are using a Google Workspace, I have used the SMTP Relay feature as described here: (option 1) support.google.com/a/answer/176600 and here: support.google.com/a/answer/2956491
I created a special account for this purpose and then, while logged in to that account, visited myaccount.google.com/apppasswords to create an App Password.
I chose the following in the LimeSurvey email settings tab:
In the Google Workspace Admin interface I went to Apps --> Google Workspace --> Settings for Gmail --> Routing and configured the SMTP relay service as follows...Email method: SMTP
SMTP host: smtp.gmail.com:587
SMTP username and password: specialaccount@somecompany.com and [app password]
SMTP encryption: Start/TLS
And that's what worked for me!1. Allowed Senders: Only addresses in my domains
2. Authentication: Only accept mail from the specified IP addresses (and then added the IP address of my LimeSurvey server) Require SMTP Authentication
3. Encryption: Require TLS encryption
Last edit: 9 months 3 weeks ago by bscwebmaster. Reason: minor edit
The following user(s) said Thank You: DenisChenu, tpartner
Please Log in to join the conversation.
- bscwebmaster
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 2
2 months 2 weeks ago #256022
by bscwebmaster
Replied by bscwebmaster on topic How to configure SMTP using Google SMTP Relay (for Google Workspace)
I've read that app passwords are deleted whenever the account password is reset, but I find that they sometimes spontaneously delete for no reason at all. Kind of annoying, but so far simply creating another one fixes it.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 2 weeks ago #256043
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 How to configure SMTP using Google SMTP Relay (for Google Workspace)
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.