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
Manu@devManu@dev 

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
Sonam_SFDCSonam_SFDC
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:
Visualforce: http://www.salesforce.com/us/developer/docs/pages/Content/pages_email_templates_intro.htm