Welcome to the LimeSurvey Community Forum

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

Placeholder in mail won't work

  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #165341 by floritimo
Placeholder in mail won't work was created by floritimo
Hello,

I did a fresh install of Limesurvey Version 3.5.1+180312, and when I send Invitation email on a basic survey for testing, it won't recognize the placeholder related to participants {FIRSTNAME} {LASTNAME} as well as those related to the survey {SURVEYURL}, but do recognize those which are replaced before sending (ADMINNAME, SURVEYNAME).

Any ideas ?

Thank you,
Florian

@@@@@@


The model :
Dear {FIRSTNAME},

you have been invited to participate in a survey.

The survey is titled:
"{SURVEYNAME}"

"{SURVEYDESCRIPTION}"

To participate, please click on the link below.

Sincerely,

{ADMINNAME} ({ADMINEMAIL})

Click here to do the survey:
{SURVEYURL}

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}

If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:
{OPTINURL}

@@@@@@@@

The email actually sent :

Dear {FIRSTNAME},

you have been invited to participate in a survey.

The survey is titled:
"random_test"

""

To participate, please click on the link below.

Sincerely,

()

Click here to do the survey:
{SURVEYURL}

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}

If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:
{OPTINURL}
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago #165343 by Joffm
Replied by Joffm on topic Placeholder in mail won't work
Hi, a bit strange,

I just tested in Version 3.5.0+180309 and saw no issues.


Don't care about the German text.

But tell us, is it an anonymous survey or not?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #165349 by floritimo
Replied by floritimo on topic Placeholder in mail won't work
No it's not an anonymous survey.
"Responses to this survey are NOT anonymized."
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago #165376 by holch
Replied by holch on topic Placeholder in mail won't work
I assume you are using tokens?

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.
  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #165390 by floritimo
Replied by floritimo on topic Placeholder in mail won't work
Yes I am using token : "Do you want to create a participant table ?" YES

I also thought it could be database related, like some authorizations on MySQL I won't have - because I use a share database host (OVH).
The topic has been locked.
More
6 years 1 month ago #165394 by jelo
Replied by jelo on topic Placeholder in mail won't work
How did you added information like first-name to the participants list?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #165395 by floritimo
Replied by floritimo on topic Placeholder in mail won't work
I create from the participants survey : "Add contacts", and fill First Name/Last Name/E mail informations.
And then generate Invitation codes and send a dummy invitation mail.
What is weird is that Email information works (I can send all emails to participants).

I also thought it could be Language related (like it won't recognize name fields), because I use French. But I switched to English and didn't notice any differences.
The topic has been locked.
  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 weeks ago #166536 by floritimo
Hello,
I found out that in HTML mode, some placeholders won't work, and in plain text everything is fine.
Maybe I checked something which prevent sending weird HTML through this website in Limesurvey (?), or maybe it could be host-related.
What do you think ?
Anyway, I have at least a way to make it works in an ugly but efficient way :-).
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166543 by tpartner
What LimeSurvey version?

What placeholders don't work?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • floritimo
  • floritimo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 weeks ago #166595 by floritimo
Every version since I update from 2.0* to 2.7* on September 2017, currently 3.6.1


Every placeholder except for those on the first group on this page (which are replaced before sending mail)
Placeholders on documentation
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166600 by tpartner
Ca you give an example of your email template with a placeholder that doesn't work.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose