+ Start a Discussion
Martha VMartha V 

visualforce template to do or not to do

We need to have a button from the Campaign detail page that will send emails (using a template) to selected campaign members.


I made a visualforce page with an extension to help with the selection of the campaign members to be emailed. Once I had that all done however I found out that SendSingEmail using a template doesn’t work with CampaignMember as a whatid(). So now, I wonder if it can be done with a visualforce template. Am I thinking on the right direction or is there a better solution for this?