Welcome to the LimeSurvey Community Forum

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

Email Results

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167984 by holch
Replied by holch on topic Email Results
You probably have to put A into "". With numbers you don't need to.

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.
  • salter
  • salter's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #167985 by salter
Replied by salter on topic Email Results
Here you go.
Yes, email does work correctly on this system.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167986 by holch
Replied by holch on topic Email Results
What does "Here you go." mean? Did you want to send something? No attachement.

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.
  • salter
  • salter's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #167987 by salter
Replied by salter on topic Email Results
Sorry about that, attachment didn't come over first time.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167988 by holch
Replied by holch on topic Email Results
Just tried it with a simple example and it work. You have to activate your survey though for it to work. In preview mode it won't.

Here is what I used:
Code:
{if(G1Q1=="A", "email1@example.com", "email2@example.com")}

With G1Q1 being the code of the question where I ask about the location. I have two locations A and B, for Location A the answer code is "A" and for location B the answer code is "B". So when I click on Location A I receive and email to email1, in any other case (in this case there is just one option) the email goes to email2.

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago - 7 years 4 weeks ago #167989 by holch
Replied by holch on topic Email Results
Please export a .lss file, not a txt file. The question alone doesn't help at all, because your error is most probably in the Expression at the admin notification email field, not the question.

So I need a complete survey as .lss file showing the expression you have put into that field as well as the question for the location to understand your structure.

If you don't want to upload your whole survey, that is OK (actually preferable). Just make a copy of your survey, delete everything that is not necessary and then export it.

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.
Last edit: 7 years 4 weeks ago by holch.
The topic has been locked.
  • salter
  • salter's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #167990 by salter
Replied by salter on topic Email Results
I attached my survey.

Thanks
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167991 by holch
Replied by holch on topic Email Results
I can't import your survey. It gives me some kind of error on importing it.

What version of Limesurvey are you using?

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167993 by holch
Replied by holch on topic Email Results
I think the problem is the bounce email address, as it is not a correct email. Could you just delete what is in bounce email address and what is in Admin email addres completely from the survey (or put a dummy email address that matches criterias for emails) and export it again. I will try to correct it in the file you have sent, but not sure if this will work.

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167994 by holch
Replied by holch on topic Email Results
Managed to import a corrected version into LS 3.71.

I found some mistakes in your expression code:
Code:
{if(G1Q3=="Aberjona", "myaddress","myaddress")}

There is no question with the question code G1Q3 in your whole survey. You can't just take my question codes that I use in MY test survey and adapt it. You need to use the codes in your survey (or adapt your codes to my codes).

In addition, you can't just write the answer text into this, you need to use the answer codes (which in your case are A1, A2 and A3).

So the correct code for your test survey would be:
Code:
{if(Facility=="A1", "myaddress", "myaddress")}

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 weeks ago #167995 by holch
Replied by holch on topic Email Results
Here your sample survey with the corrections. If you substitute the dummy email addresses with the correct email addresses things should work (if the survey is activated).

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.
  • salter
  • salter's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #167996 by salter
Replied by salter on topic Email Results
The G1Q3 was my last attempt. Let me give it a try.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose