Welcome to the LimeSurvey Community Forum

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

Limesurvey's email code

More
10 years 1 week ago #144619 by Sumeet64Singh
Hey there
We have a similar interface to Limesurvey. The only thing that we require right now is that when the person presses submit, the response should be emailed to a default email address(which can be changed from the code itself), like it happens in LS(Basic and detailed information).
What would be the best way to do it?
I have been unable to locate this code for LS, that is how it fetches all the data plus the email part.
Any suggestions/advice would greatly be appreciated
Thanks in advance
Sumeet Singh
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
10 years 1 week ago #144620 by LouisGac
Replied by LouisGac on topic Limesurvey's email code
It's hard to understand what you're saying. Could you please show your code?
The topic has been locked.
More
10 years 1 week ago #144622 by holch
Replied by holch on topic Limesurvey's email code
From what I understand: He is building a survey tool similar to Limesurvey and he wants to understand the code on how Limesurvye treats emails, so he can implement something similar in his/her application.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
10 years 1 week ago #144679 by Sumeet64Singh
Well explaining the whole concept here would take ages.
All I want to know is how does LS gets the questions and the responses submitted by the user and mails it to the specified email id? I am unable to find that code. If anyone could direct me the right way. Have been on it for quite some time now!
The topic has been locked.
More
10 years 1 week ago #144685 by fvanderstarre
See file application/helpers/frontend_helper.php (in version 2.06 lts 160801). E.g. line # 592: "* Send a submit notification to the email address specified in the notifications tab in the survey settings".
Good luck!
The topic has been locked.
Moderators: holch, tpartner

Lime-years ahead

Online-surveys for every purse and purpose