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
ds77730ds77730 

Mail Merge template population using Apex

Is it possible to read the Mail Merge template through Apex and populate with SF custom object data?

Code samples will be a great help.

sachin sharmasachin sharma

Hi

 

I also need to do something like this. I want to use subject and body of email templates associate it with some custom object and merge the fields of that custom object with the template.

 

Anybody has come through this kind of situation, please let me know.

 

Regards

Sachin

Live agent integrationLive agent integration

Hi,

Even i am also having the same requirement, Reading the mail merge template and i need to populate the merge fields with salesforce data

Still searchin, but could not get the solution.Can any one help me on this??

MaxFrielMaxFriel

I am also in the same situation.  Has anyone found anything?

Ganesh HegdeGanesh Hegde
Hi Salesforce,

Can you please give suggestion for this requirement.. Many people are looking for this

Thanks