Welcome to the LimeSurvey Community Forum

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

Confirmation emails for a survey without tokens

  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #147899 by oleggorfinkel
I have a simple survey that people fill out to sign up for a course, and I'd like the users to receive a confirmation email when they've submitted the questionnaire. I am not using tokens for this survey, and I don't want to, as that would imply having to use the public registration option, and that would add an extra step for the users. Isn't there a way to send out confirmation emails for a tokenless survey (perhaps by designating one of the response fields as the email address)?

Oleg G.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #147905 by DenisChenu
Replied by DenisChenu on topic Confirmation emails for a survey without tokens
You ask email somewhere ?
For example in a question with code {EMAIL}
If yes : use {EMAIL} in Send basic admin notification email to

See manual.limesurvey.org/Survey_settings#No..._.26_data_management

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.
  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #147969 by oleggorfinkel
Replied by oleggorfinkel on topic Confirmation emails for a survey without tokens
Hi Denis, thanks for your recommendation -- this sounds exactly like what I was looking for. I tried to do it, however, and no messages were sent out. I have tried using Yahoo's smtp server, as well as that of my hosting provider (x10hosting.com), but no luck. There is no error message or anything, and the survey does complete properly -- just no email...

Any further suggestions?

Oleg G.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #147971 by DenisChenu
Replied by DenisChenu on topic Confirmation emails for a survey without tokens
Set debug at 2 (via config/config/config.php) , set maildebug at Always (in GUI/global settings).
Create a survey with token , try to send an email to you.
Come back with the error shown

Denis

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.
  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago - 7 years 2 months ago #148045 by oleggorfinkel
Replied by oleggorfinkel on topic Confirmation emails for a survey without tokens
You meant .../htdocs/application/config/config.php, right? I have set debug to 2, SMTP debug to "always"; filled out and submitted the survey, which completed correctly, but again, no email and no error message of any kind...

The "Send Confirmation Emails" option is enabled, and the basic/detailed admin notification addresses are set to {Email} (the question code where the user-entered email address is kept) and my personal email respectively.

I have attached the email settings I am using in LimeSurvey, as well as those recommended by the hosting provider.

Any ideas?

BTW, I am on build 160812.

Oleg G.
Last edit: 7 years 2 months ago by oleggorfinkel.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #148049 by DenisChenu
Replied by DenisChenu on topic Confirmation emails for a survey without tokens

oleggorfinkel wrote: ...filled out and submitted the survey, which completed correctly, but again, no email and no error message of any kind...

You must, ti have warning/error/all message send an false email via token management : manual.limesurvey.org/Survey_participants#Sending_emails

Then you are sure you have the error.

You can just create a survey with token without question, you dpon't have to activate it. And send an email to you .

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.
  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago - 7 years 2 months ago #148103 by oleggorfinkel
Replied by oleggorfinkel on topic Confirmation emails for a survey without tokens
Ok, I did that and got the message that the invitation was, in fact, sent out to the correct address (oleggorfinkel<AT>yahoo.com.mx), but I never received the email (and yes, I did check in the "Spam" folder). The SMPT debug output was as follows:

2017-02-01 22:55:34 SERVER -> CLIENT: 220-xo3.x10hosting.com ESMTP Exim 4.87 #1 Wed, 01 Feb 2017 17:55:34 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2017-02-01 22:55:34 CLIENT -> SERVER: EHLO apuv.tentokai.com
2017-02-01 22:55:34 SERVER -> CLIENT: 250-xo3.x10hosting.com Hello xo3.x10hosting.com [198.91.81.3]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
2017-02-01 22:55:34 CLIENT -> SERVER: AUTH LOGIN
2017-02-01 22:55:34 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2017-02-01 22:55:34 CLIENT -> SERVER: YWRtaW5pc3RyYWRvckB0ZW50b2thaS5jb20=
2017-02-01 22:55:34 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2017-02-01 22:55:34 CLIENT -> SERVER: RGVjaW1hMDk=
2017-02-01 22:55:34 SERVER -> CLIENT: 235 Authentication succeeded
2017-02-01 22:55:34 CLIENT -> SERVER: MAIL FROM:
2017-02-01 22:55:34 SERVER -> CLIENT: 250 OK
2017-02-01 22:55:34 CLIENT -> SERVER: RCPT TO:
2017-02-01 22:55:34 SERVER -> CLIENT: 250 Accepted
2017-02-01 22:55:34 CLIENT -> SERVER: DATA
2017-02-01 22:55:34 SERVER -> CLIENT: 354 Enter message, ending with "." on a line by itself
2017-02-01 22:55:34 CLIENT -> SERVER: Date: Wed, 1 Feb 2017 17:55:34 -0500
[... split ..]
2017-02-01 22:55:34 CLIENT -> SERVER:
2017-02-01 22:55:34 CLIENT -> SERVER:
2017-02-01 22:55:34 CLIENT -> SERVER: --b1_82e56a0b8fbf5498d6dfd535b58974dc--
2017-02-01 22:55:34 CLIENT -> SERVER:
2017-02-01 22:55:34 CLIENT -> SERVER: .
2017-02-01 22:55:34 SERVER -> CLIENT: 250 OK id=1cZ3oM-001LCY-7w
2017-02-01 22:55:34 CLIENT -> SERVER: QUIT
2017-02-01 22:55:34 SERVER -> CLIENT: 221 xo3.x10hosting.com closing connection
All emails were sent.


I wonder why the email never gets to me...

Oleg G.
Last edit: 7 years 2 months ago by DenisChenu. Reason: quote and split
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #148110 by DenisChenu
Replied by DenisChenu on topic Confirmation emails for a survey without tokens
Then : seems not a LimeSurvey issue

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.
  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #148159 by oleggorfinkel
Replied by oleggorfinkel on topic Confirmation emails for a survey without tokens
I have tried sending the emails to other addresses (some Yahoo, some Gmail), and none of them are getting there, so it's not an issue on the receiving end. Do you think the hosting provider's SMTP server would be the most likely source of the problem?

Oleg G.
The topic has been locked.
More
7 years 2 months ago #148163 by jelo
1. Test the SMTP-Server with an emailcient instead of Limesurvey. Is that working. Are mails reaching their destination?
2. Check the sender email-address. If you use a yahoo.com.mx via your SMTP account (which is not yahoo!) most receiving mailserver will not accept the mail. That's because the sender email address is from Yahoo, but the SMTP server is not under control of Yahoo. Use a email which is managed by the SMTP server you use (@tentokai ?).
Then Check again.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: oleggorfinkel
The topic has been locked.
  • oleggorfinkel
  • oleggorfinkel's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago - 7 years 2 months ago #148166 by oleggorfinkel
Replied by oleggorfinkel on topic Confirmation emails for a survey without tokens
Thanks, jelo!

Yep, the problem was exactly what you said in #2 -- I was putting my personal email address in the From field, and the hosting provider considers it spoofing and disallows it. In fact, the email is discarded silently, without any error message.

So, given the above, what I'd like to do is to at least put my personal email in the [Reply-To] field, and the manual says that I should be able to do that via the "Admin email" option in survey settings, but in actual fact, Admin email is used for the From field, causing the send to fail. It looks like the manual is actually incorrect on that point.

Any ideas about this?

Oleg G.
Last edit: 7 years 2 months ago by oleggorfinkel.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #148168 by DenisChenu
Replied by DenisChenu on topic Confirmation emails for a survey without tokens
We never use Reply-To in LS code , if the manual say that : it's a bug in manual.

By default:
- From : always the admin email of the survey, if empty global settings admin email
- Return-Path : empty by default, set to Bounce email if survey use it.

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 following user(s) said Thank You: oleggorfinkel
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose