- Posts: 112
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
SMTP configuration with survey admin emails
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
4 months 5 days ago #253825
by stevelegare
SMTP configuration with survey admin emails was created by stevelegare
Own server
==================
Hello,
We are facing an issue related to the general configuration of LimeSurvey regarding the sending of emails via SMTP.
Our SMTP server administrator requires that the email address used for the "FROM" field be the same as the one used for authentication with the SMTP server.
The LimeSurvey instance connects with an account defined in the general settings. However, each administrator has the option to enter a different email address. This creates a problem for sending emails because the two addresses do not match.
For example:
The connection to the SMTP server is established with the user adminlimesurvey@domain.com. Subsequently, an administrator changes the email address in their survey to me@domain.com. When sending an email, the server checks if the "FROM" address (me@dommain.com) matches the connected user (adminlimesurvey@domain.com) and rejects the delivery.
Do you have any suggestions to resolve this situation?
==================
Hello,
We are facing an issue related to the general configuration of LimeSurvey regarding the sending of emails via SMTP.
Our SMTP server administrator requires that the email address used for the "FROM" field be the same as the one used for authentication with the SMTP server.
The LimeSurvey instance connects with an account defined in the general settings. However, each administrator has the option to enter a different email address. This creates a problem for sending emails because the two addresses do not match.
For example:
The connection to the SMTP server is established with the user adminlimesurvey@domain.com. Subsequently, an administrator changes the email address in their survey to me@domain.com. When sending an email, the server checks if the "FROM" address (me@dommain.com) matches the connected user (adminlimesurvey@domain.com) and rejects the delivery.
Do you have any suggestions to resolve this situation?
Please Log in to join the conversation.
- sangitasharma
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 2
4 months 4 days ago #253831
by sangitasharma
Replied by sangitasharma on topic SMTP configuration with survey admin emails
It could be to set a default FROM address or automate the FROM field to mirror the authenticated user email. This alignment checks consistency between the connected user credentials and the FROM address.
The following user(s) said Thank You: stevelegare
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
4 months 4 days ago #253832
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 SMTP configuration with survey admin emails
A core plugin is done for this : just activate it.
github.com/LimeSurvey/LimeSurvey/tree/ma...ins/mailSenderToFrom
> Force sender, From etc … to be the mail set for sending email. Some SMTP server need smtp user as From and Return-Path.
github.com/LimeSurvey/LimeSurvey/tree/ma...ins/mailSenderToFrom
> Force sender, From etc … to be the mail set for sending email. Some SMTP server need smtp user as From and Return-Path.
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.
The following user(s) said Thank You: stevelegare
Please Log in to join the conversation.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
4 months 4 days ago #253834
by stevelegare
Replied by stevelegare on topic SMTP configuration with survey admin emails
Thanks Denis. This is exactly what i'm loking for. Great community!
Please Log in to join the conversation.