Mautic Community Forums

HTML content in custom field

Hi there,



I am using a lot of custom field in mautic. All my customer are created and updated by REST api.



I want to send some personalised HTML content in a mailing campaing.

I have created a new field in text type (same with textarea type) but the html content send by the API is cleaned to normal text (no tag, text only).



Is there possible to save HTML in custom field ?



Thank you so much,

Hi there,

I am using a lot of custom field in mautic. All my customer are created and updated by REST api.

I want to send some personalised HTML content in a mailing campaing.
I have created a new field in text type (same with textarea type) but the html content send by the API is cleaned to normal text (no tag, text only).

Is there possible to save HTML in custom field ?

Thank you so much,

up :slight_smile:

Hello Leo have you find a solution? I have the same questions

I have a semi solution…
I generate an image on my website with the html content inside. After that, i include the image in the email (with a custom key parameter in the url to personnalize…)