function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to show dynamic records inside custom html email template

Hi all,

I am using a custom html email template and sending one email. Inside the email body, I should able to fetch the object records dynamically and arrange in a html table and send the email.

Is this possible to achieve this using html custom email template?

R - Manu
Hi Manu,

If you wish to go with dynamic records in the email template - I'd suggets you can go with the visualforce email template so you can query and add the records you wish to chosse dependng on the query in the template: