Cannot use variables in templates
We have created a lot of templates with {$variable_name} syntax instead of {{personalisation_var_name}} by intetion which are not substituted now in delivered emails.
Since v2.3.0 - We cannot use variables either if I am replacing the setVariables() with the valid setPersonalisation() in my code. The {$variable_name} variables are not replaced with the provided personalisation. We need to change all our templates syntax vars to twig variable to make the substitutions work again. This would be complicated because we are using the same set of templates for multiple environments whichs may use different version of mailersend nodejs sdk.
The API instructions under any templates suggest to use variables for substitutions but this is not available in v2.4.0:
I wonder why was the Simple Personalisation removed from the SDK and if you we can revert these changes?
Any updates on this Issue?
This has broken a business use case!
Unfortunately clients need to adopt those changes unless there are no official response from Mailersend. I assume they will not restore the simple personalisation in the nodeJS SDK since several official emails were sent from Mailersend team to clients to prepare to those changes but they have kindly delayed the go live date to 1st March 2025.
Mail from Mailersend about the change Mail about postponing the deadline
Simple personalization using {$variable} has been deprecated and removed in MailerSend. Only Twig-style variables {{variable}} are supported for template personalization.