Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4160 Prikazi

I need to send personalised emails to a large number of members of our association.

For each contact there will be a short html content of about 10 lines.

When using the email marketing module I'd like to add this personalised html content to the body of the mail.

I see how to insert personalised content through the Dynamic Placeholder generator.

So I am using the comment field of the res_partner table to store the html content.

But I don't get to have the html correctly rendered.

It is always shown as such, so the people see the html code, and not the rendering.

Any idea on how to solve this ?

Thanks a lot for  your  support !

Avatar
Opusti
Avtor Best Answer

Solution found :

Just add a "pipe safe " to allow the rendering.

In my case :  ${object.comment|safe}

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
7
okt. 19
13598
0
avg. 22
3035
3
maj 16
4378
3
maj 15
4634
1
apr. 25
927