Welcome to the LimeSurvey Community Forum

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

Question on send email notifications based on an answer to a question

More
4 years 7 months ago #209991 by capowang
forums.limesurvey.org/forum/can-i-do-thi...a-question-condition

I read this post and I try to add this following line under "Send detailed admin notification email to"

{if(A4.code=="A5","capoxx@gmail.com","")}.

I am sure the question's code is A4 and the triggering answer'c code is A5. I can also see these data in responses. However, I didn't get any notification through email. Could anyone help me detect where might be the issue?
The topic has been locked.
More
4 years 7 months ago #209992 by capowang
The topic has been locked.
More
4 years 7 months ago #209993 by capowang
Actually, The email notification just not work in general to me. I tried not set any condition and just enter an email address under "Send basic admin notification email to:" and when I finish a form I don't get any email.
The topic has been locked.
More
4 years 7 months ago #209994 by capowang
Is that because I am using the email same as my admin email?
The topic has been locked.
More
4 years 7 months ago #209999 by Joffm
What about your email settings?
Are they correct?

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: capowang
The topic has been locked.
More
4 years 7 months ago #210011 by capowang
The topic has been locked.
More
4 years 7 months ago #210012 by capowang
I am currently using the localhost, should I change to SMTP to test for now and change back to PHP in future when it is on my website? I am quite confused here. I am really appreciate if anyone could help me on this.
The topic has been locked.
More
4 years 7 months ago #210013 by capowang
Hi Joffm, what would you suggest on the email settings?
The topic has been locked.
More
4 years 7 months ago #210017 by DenisChenu
We don't habve anyidea of your system : we can not give you tips about your email settings …

Just try …

1. Create a survey
2. Activate particpant
3. Create a participant with your email
4. Try to send the inviation.

When it work : you can check other email.

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 topic has been locked.
More
4 years 7 months ago #210022 by Joffm
How do you expect that "localhost" will send emails?
Did you activate "Mercury" to be able to fake some email traffic locally?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
4 years 7 months ago #210026 by DenisChenu

Joffm wrote: Did you activate "Mercury" to be able to fake some email traffic locally?

What is "Mercury" ?

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 topic has been locked.
More
4 years 7 months ago #210030 by Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 7 months ago #210045 by capowang
Joffm, Thank you for the reply! But when I installed XAMPP on mac, I don't find mercury mail inside, only with Apache, MySQL and ProFTPD. How do I add mercury to XAMPP?
The topic has been locked.
More
4 years 7 months ago #210101 by holch
I always would use an existing SMTP server over installing and configuring my own email server.

I would never use PHP (just too many problems and most probably your emails will end up in Spam anyway), always go with a good SMTP server. But keep in mind, not every SMTP account allows sending mass emails like invitations. You can quickly run into blocks by your email provider if your smtp account has certain limits.

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
4 years 7 months ago #210119 by Joffm
This is what apachefriends say about email on Mac.
www.apachefriends.org/faq_osx.html
"How do I send email with XAMPP?"


And you may try this:
www.geeksforgeeks.org/how-to-configure-x...localhost-using-php/

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, wpfan2099
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose