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
itzikitzik 

getting email template filled with values

anyone know how can i get an email template filled with the filleds
 
for example template like :
 
Dear Distributor / Reseller,
Company Name: {!Account.Name}
Address: {!Account.BillingAddress},
Country: {!Contact.Country__c}
 will get the current values and insert them in the rigth places
 
i want to return this filled template as a string