Skip to main content
Solved

How to add formatted text via variable in an email?


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!

View original
Did this topic help you find an answer to your question?
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
  • 45 replies
  • May 1, 2024
Mark Jongeling wrote:

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...


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings