HTML Code showing in Text Version Email

Anonymous
Not applicable

HTML Code showing in Text Version Email

Hi All,

I am using Tokens in my emails and I wanted to find out why HTML code is showing up in text version? is this normal?

see ex:

pastedImage_0.png

7 REPLIES 7
SanfordWhiteman
Level 10 - Community Moderator

Re: HTML Code showing in Text Version Email

By "token" do you specifically mean "Velocity token"?

Anonymous
Not applicable

Re: HTML Code showing in Text Version Email

No just a regular token created by me "My tokens"

SanfordWhiteman
Level 10 - Community Moderator

Re: HTML Code showing in Text Version Email

Then you must have put this code in a text token or text part of a RT token. That naturally results in raw output.

Anonymous
Not applicable

Re: HTML Code showing in Text Version Email

Hi Sanford,

I added the text that should go in the token (Footer of this email).....in a rich text - HTML section.....

SanfordWhiteman
Level 10 - Community Moderator

Re: HTML Code showing in Text Version Email

I don't know what you're referring to here.

If you want a plain-text version, create a Text token, not Rich Text. The exception being snippets, which contain tabs for each version.

Anonymous
Not applicable

Re: HTML Code showing in Text Version Email

Sorry Sanford, I mean I created a rich text token and when I inserted it in the email...the test email is showing me.....the HTML code in the text version of the email.

When I don't use (My token - footer content) which is used in the footer.....then it shows no HTML code in the Text Version of the email.


Thanks,

SanfordWhiteman
Level 10 - Community Moderator

Re: HTML Code showing in Text Version Email

You shouldn't be attempting to include Rich Text in Text, period.

You need to create a corresponding Text {{my.token}} for the Text side.

Alternately you can use a polymorphic Velocity token on both sides, but only if you understand the technical reasoning. https://blog.teknkl.com/polymorphic-tokens/