Closed luminous8 closed 1 year ago
Hi @luminous8 did you see this article? I think it might help.
@luminous8 I'm going to close this ticket as it's not library-related. If you need any help on this you can contact Customer Assistant from your Mailjet account.
Hi,
I need to generate a personalized unsubscribe email for transactional emails.
I'm doing this but it doesn't work
const recipientsList = users.map((user) => { return { Email: user.email, Variables: { unsubscribeLink: 'https://domain.com/unsubscribe?email=${user.email}&id=${user.uniqueId}', }, }; });
And in my mjml file
{{ unsubscribeLink }}
How can i achieve this?
Thanks