Welcome to the LimeSurvey Community Forum

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

SMTP configuration with survey admin emails

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 months 12 minutes 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?

Please Log in to join the conversation.

More
10 months 4 weeks 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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 months 4 weeks ago #253832 by DenisChenu
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.

 

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.
The following user(s) said Thank You: stevelegare

Please Log in to join the conversation.

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 months 4 weeks 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.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose