You are viewing limited content. For full access, please sign in.

Question

Question

HTML issues in Email Activity within Workflow

asked on August 18, 2015

Hi there,

Our marketing team has put together some very nice HTML that they would like us to use in a workflow that emails externally.  When pasted into the Email Activity, it appears that some of the formatting is either ignored or misinterpreted.   Is there known limitations to using HTML inside the Email Activity?

Thanks!

Doug

0 0

Replies

replied on May 23, 2016

Just to followup on this in case someone finds it.  DO NOT put any carriage return/line feeds of your own in the email activity.  If you do, Workflow reads them as a break in your HTML, and it will make your HTML look all strange and mis-formatted. 

So basically, your HTML code has to be one large text blob, with no spaces or carriage return/line feeds.

2 0
replied on August 18, 2015

Just found something on ignoring the formatting as Workflow adds in breaks at the end of every line.  Will try that out.

0 0
replied on August 27, 2015

Hi Doug,

Have you tried using different email clients to receive the email? 

Workflow sends out emails as plain text and html and depending on the receiver, the interpretation will be different.  You might be able to resolve this issue by changing your receiving email client.

0 0
replied on September 8, 2021

Additional note, in case you end up here frustrated by blank lines from multi-value tokens. You'll also need to strip out the new lines in the indexed token. Even if you specify Space as the separator, it adds a newline as well (e.g., %(REPORT#[ ]##"HTML").

Once you have your multi-value token populated, you can use the Pattern Matching activity to "clean" it as shown below. Now you can use just HTML formatting of the new token in your email body (e.g., %(CleanReport_REPORT#"HTML"#)).

There's likely a simpler solution/explanation and I'd be happy to know it!

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.