Making Date Tokens work when you "view in browser"

Anonymous
Not applicable

Making Date Tokens work when you "view in browser"

Hi,

I use the below date token to populate the date in my emails.  In the actual emails this works very well for me however I have noticed that when a user views the email in their browser it shows them the token code rather than the date.  Does anyone know why this might be?

Token Type: Email Script

Token Code: $date.format('dd MMMM yyyy', $date)

In the email I have the token in a table, below is a sample of the code:

<td valign="top" style="color:#888888; font-family:Helvetica; font-size:12px; line-height:125%; text-align:left; padding-bottom:15px;">{{my.TodaysDate}}</td>

Thanks

Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Making Date Tokens work when you "view in browser"

Simon Allen FYI. I moved your post to the Products and Support​ section of the site.