Send Email using the Java CRM SDK and replace template variables with a value
I am currently sending emails through the Java CRM SDK 7, which is working just fine. However, I can not figure out how to replace the variables in the template with data I am generating dynamically before sending out the email.
For example, I am sending an invite email that generates a unique sign-up code. In the template I have a button that says "Join Now" with a variable assigned to it "${my-link}".
How can I replace the variable ${my-link} with my url String generated right before sending the email?