Hi everyone,
I am currently using LimeSurey in order to send personnalized emails (using both email templates and expression manager).
I was looking for a way to have multiple versions of my email, which I could send at once using the participants table attributes.
The simplest way I found to store those versions (which contain HTML code) is to code them as questions in the survey, and pipe them in the template using the expression manager.
As a result, my email template looks something like this:
Code:
{if(TOKEN:ATTRIBUTE_1 == "version1", version1.question, "")}
{if(TOKEN:ATTRIBUTE_1 == "version2", version2.question, "")}
{if(TOKEN:ATTRIBUTE_1 == "version3", version3.question, "")}
...
It seemed to work very well at first, but then it started sending blank emails (even though I had not changed anything in my code).
I struggled to find an answer, and then I noticed something: if I preview my survey (with my the versions of my email as questions) just before sending my emails, they have content again. But if I come back the next day and start sending emails without previewing my questions first, everything is empty again.
Here's my question: do I need to preview the HTML I am piping in order to "reactivate" some ressources? I don't really know how else to put it, but does piping in LimeSurvey only works if the survey has been viewed in the last X hours?
Thank you very much for you help.
Best,
Victor
PS: my access to LimeSurvey is provided by another compagny as part of a corporate plan, so I don't know what is the version, and I have very limited access to admin settings.