asked on June 13, 2018 Show version history

I have a script that collates data and wraps it in an HTML table. If I assign the HTML to a string and send the email from within the script using object, the email I receive renders the HTML correctly. However if I put the HTML into a token using SetTokenValue

SetTokenValue("HTMLBodyText", sbHTMLOutput.tostring)

use an email activity with the assigned token %(HTMLBodyText), the email received just comes through as plain text.

Anyone had the same experience or better still has a resolution ?



PS.  Just a couple of points for clarity.

Advance settings - "Send a plain text email" is unchecked.
Putting HTML directly into the body of the activity email does render the html in the received email correctly.


This is now resolved using the formatting for HTML. In the email editor, highlight the token, right click and select 'Token Editor'. Tick 'Apply formatting' and enter HTML.


htmformat.PNG (34.64 KB)
1 0