Can I use custom data in a mailto link on a button in transactional emails

  • 22 November 2023
  • 2 replies

I’m trying to add a mailto url on a button in the transactional email editor. I have successfully used the email attribute passed in via the api as the ‘to’ email address, but when i try and use data in the subject and message fields, it just shows up in the mail as liquid syntax. Is it possible to do this in or not?

thanks for your help! 

2 replies

Userlevel 4

Hey Phil,

would you mind providing me with a screenshot of the liquid code?



so the subject or body fields on the button don’t populate when I click the link and mail opens. it just shows as {{trigger.companyName}} in the email body