You need to sign in to do that
Don't have an account?
suji srinivasan
how to keep cc in visualforce email template?
Hi , i need to keep cc as respective users personal email id in visualforce email template . how to keep cc dynamically in visualforce email template ?
Thanks in advance
Thanks in advance
The email template itself would not include the AdditionalTo or CC recipients. But you should be able to use a custom controller to define these.
In the Visualforce Developer's Guide (Spring '11), see page 142 in the 'Integrating Email with Visualforce section. This shows an example of using a custom controller with a Visualforce email template.
In the Apex Code Developer's Guide (Spring '11), see page 330 for the Email object methods you would use to set the additional recipient fields.
Also Similar example has been discussed here :- https://developer.salesforce.com/forums/?id=9060G000000Bg63QAC
Kindly mark it as the best answer if it works for you.
Thanks & Regards,
Priya Ranjan