I did a template (Mako) and it has this line:
<a href="http://localhost:30070/invitation-response?var1=${object.encripted_url}&var2=yes">I'll go</a>
When I click on the preview, it looks great, I click on the link and it redirects me where I want to go:
http://localhost:30070/invitation-response?var1=c78d921d980261c80dde30804875b6058de124f7&var2=yes
However, if I load this template to send the email, I receive this link:
http://localhost:30070/invitation-response?var1=${object.encripted_url}&var2=yes
And I have other problems too:
<% set variable = 'Hello friend' %>
<p>${variable}</p>
If I click on preview, I can see Hello friend, but when I send the email, I get a blank line.
Did anyone experience this problem? Any help would be very appreciated. Thank you in advance.
EDIT
I was checking more and more and I'm getting the wrong emails only when the composition_mode is 'mass_mail'. If I send the email to a unique person, the result is OK. Can anyone tell me why, please?