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
shan876shan876 

Prefill email Template

Hi:
   Just wondering, can you prefill an email template, Every Contact record for one Account on the To: field through Visual Force ? If yes, does anyone have an example of this?
Thanks
Happy New Year...

RStevensRStevens
Hi,
Sorry, but no, you can't prefill the "to:" or "cc:" recipients for an email composed with a Visualforce template.  The template is really just for composing content not for setting recipient addresses.  That might be a good idea for a future enhancement though.

Happy New Year!
Rick