Email Script (Velocity) My.Tokens Not Displaying Default Values


Issue Description
Velocity scripted tokens are not displaying the default value in the asset if the information required for the token is not in the database.




Issue Resolution

Email Script tokens are not designed to work with the {{my.token:default=Some Value}} syntax, which is for simple tokens.

Rather, you must output the default value within the code (using #if/#else, $display.alt or any other conditions) then include just {{my.token}} in the email.

Examples can be found here:

Labels (1)