Re: Is Velocity Script breaking email code in Web View format?

Anonymous
Not applicable

Is Velocity Script breaking email code in Web View format?

Hello,

I am using a Velocity Script in an email to format a currency token to use this decimal format, $150.00, instead of 150.0. In the email tests I'm sending myself, the formatting looks fine. But then when I click the View Online link it ends up showing the entire VS code and breaking the email's html code (please see below). Can anyone please provide insight into why this might be happening and suggestions for how to fix it? **To followup, I sent myself an email through a regular campaign (not a test) and the email appeared fine when viewed in Web View mode....So, could this be an issue occurring only when an email is sent as a test?

pastedImage_0.png

Thank you so much!

Laura Kimball

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Is Velocity Script breaking email code in Web View format?

Hi Laura -- yep, as you noticed, don't trust test emails when using Velocity.