Velocity templating language
Velocity is an open-source Web Templating Language developed by the Apache Software Foundation. It can be used as an alternative to FreeMarker.
Simple Personalization
Recipient XML
<Recipient>
<EmailAddress>joe@company.com</EmailAddress>
<FirstName>Joe<FirstName>
<MyCustomField>XYZ</MyCustomField>
<Recipient>
HTML/Text Template
Hello, ${Recipient.getRootElement().getChild('FirstName').getText()}!
${Recipient.getRootElement().getChild('MyCustomField').getText()}
Result Hello, Joe! XYZ
Click Tracking
Click <a href="{Gears.trackingTool.getTrackableLink(“http://www.myhomepage.com”, “Home Page”)}">here</a>
to go to our home page.
Unsubscribe Links
Click <a href="${Gears.trackingTool.getUnsubscribeLink()}">here</a> if you don't wish to receive these messages in the future.
Hosted Email Content
Click <a href="${Gears.trackingTool.getMicrositeLink()}">here</a> if you are having trouble viewing this message.