SOLVED

Text version of emails not token-friendly

Go to solution
Josh_Hill13
Level 10 - Champion Alumni

Re: Text version of emails not token-friendly

So the quick fix is to have a Text token that has similar content....if you don't want to fix the code or script anything.

SanfordWhiteman
Level 10 - Community Moderator

Re: Text version of emails not token-friendly

Yep! Should have made that clear. If you don't want to build a "polymorphic" token you need an HTML token and a Text token.

nikhil001
Level 2

Re: Text version of emails not token-friendly

@SanfordWhiteman Could you please let me know the code for single script token that switches between HTML and text output based on where it appears.

SanfordWhiteman
Level 10 - Community Moderator

Re: Text version of emails not token-friendly

SanfordWhiteman
Level 10 - Community Moderator

Re: Text version of emails not token-friendly

BTW I just figured out how to have a single script token that switches between HTML and text output based on where it appears. Justin Norris​ you're gonna like this one.

Justin_Norris1
Level 10 - Champion Alumni

Re: Text version of emails not token-friendly

So the email script token contained in the text version of the email will render plain text and the same token on the HTML side will render formatted HTML?

That's pretty cool. Post an example!