Is Velocity Script breaking email code in Web View format? | Community
Skip to main content
July 13, 2017
Question

Is Velocity Script breaking email code in Web View format?

  • July 13, 2017
  • 1 reply
  • 1342 views

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?

Thank you so much!

Laura Kimball

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
July 13, 2017

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