Using smart content on custom email templates

contacts

#1

Hi,

I am using the API to upload custom html to templates and those templates are being used in emails.

I want to switch contents in those templates depending on users list enrollments (like smart contents).

Is there any way to achieve this using the HubL tokens?


#2

Hi @sougata_bose,

It’s not currently possible to use smart content in a custom coded module. This community post has some more details on this topic. You can use smart content in drag and drop email templates per the following Knowledge Base article: