Welcome to the LimeSurvey Community Forum

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

Change FROM field when sending emails via SMTP

  • FirefoxMetzger
  • FirefoxMetzger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #207208 by FirefoxMetzger
Change FROM field when sending emails via SMTP was created by FirefoxMetzger
We are running LimeSurvey V3.24.2 CE and we want to send emails through a Microsoft Exchange server. The connection is established correctly, authentication succeeds, and the exchange server accepts the email from LimeSurvey.

However, and this is the problem, the server doesn't send the email because the FROM field doesn't match the account used to authenticate. Instead, it appears to use the email of the person owning the survey. Is there a way to change this behavior and set the FROM field to a fixed value, regardless of who owns the survey?
The topic has been locked.
  • FirefoxMetzger
  • FirefoxMetzger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #207211 by FirefoxMetzger
Replied by FirefoxMetzger on topic Change FROM field when sending emails via SMTP
Update: I partially solved this problem by manually changing the admin email in the survey (Survey > General Settings > Administrator email address) to the email of the Exchange server.

Is it possible to change the default value from the creator's email to a static one?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #207216 by DenisChenu
Replied by DenisChenu on topic Change FROM field when sending emails via SMTP
You have to use a plugin or to do what you done …

We have a plugin but only for 4.X … bugs.limesurvey.org/view.php?id=10529

With 3.X : manual.limesurvey.org/BeforeTokenEmail is done for this.

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 topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose