Welcome to the LimeSurvey Community Forum

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

Limesurvey's email code

  • Sumeet64Singh
  • Sumeet64Singh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #144619 by Sumeet64Singh
Limesurvey's email code was created 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
  • Visitor
  • Visitor
7 years 4 months 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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months 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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Sumeet64Singh
  • Sumeet64Singh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #144679 by Sumeet64Singh
Replied by Sumeet64Singh on topic Limesurvey's email code
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
7 years 4 months ago #144685 by fvanderstarre
Replied by fvanderstarre on topic Limesurvey's email code
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.

Lime-years ahead

Online-surveys for every purse and purpose