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
eshhheshhh 

Scenario: I want to automate a email template in that template i need to display the values of one account by one with some condition (based on city like)

i have a custom object from that i need to fetch the records all based on city and records will be display one by one (ie,accounts having images also )
Sonam_SFDCSonam_SFDC
If I understand correctly - this should be possible through a n HTML template where you can use merge fields to populate the Fields from Account object : 

Creating HTML Email Template:http://help.salesforce.com/HTViewHelpDoc?id=creating_custom_html_email_templates.htm&language=en_US
Merge fields in Email templates: https://help.salesforce.com/HTViewHelpDoc?id=merge_fields_email_templates.htm&language=en_US