Skip to main content
Answer

How to add formatted text via variable in an email?

  • May 1, 2024
  • 2 replies
  • 57 views

Forum|alt.badge.img+3

Hello, 

We want to send an email with tracking codes. These tracking codes are grabbed from our database, and there is not limit on their amount. We are currently using a sql query to grab all the tracking codes are adding <a href> and <br> links in between each tracking code. 

The result of this query is then added to a variable of our process flow, and this variable is inserted in our email. The result of this however is that the literal HTML code is pasted in the email, instead of the formatted result.

What can we do to add the result in this query in such a way that only the links are visible and not the literal html elements. 

Thank you. 

Best answer by Mark Jongeling

Hi Niels, 

In the process action Email connector you have the Allow HTML input parameter. This will determine if the content is sent as HTML of not. Verify that is set to Yes.

For the older SMTP connector it is turned off by default, but the same applies; set it to Yes.

Hope this helps!

This topic has been closed for replies.

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Niels, 

In the process action Email connector you have the Allow HTML input parameter. This will determine if the content is sent as HTML of not. Verify that is set to Yes.

For the older SMTP connector it is turned off by default, but the same applies; set it to Yes.

Hope this helps!


Forum|alt.badge.img+3
  • Author
  • Vanguard
  • May 1, 2024

Hi Niels, 

In the process action Email connector you have the Allow HTML input parameter. This will determine if the content is sent as HTML of not. Verify that is set to Yes.

For the older SMTP connector it is turned off by default, but the same applies; set it to Yes.

Hope this helps!

Yess, thanks! Overlooked this button in the options...