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
Coral RacingCoral Racing 

Add a CC /BC Recipient to a Visual Force template

Hi

I really need to be able to add a cc or bc recipient to my visual force email templates.  So I have been doing some diigin gand found this post

http://salesforce.stackexchange.com/questions/32095/singlemessage-with-templateid-in-apex-need-to-add-more-recipients/32102#32102

and was wanting to know if anyone had tried this?  I am new to Salesforce and unsure how to get this started.  Can anyone help?

Thanks

Sonya
Gaurav NirwalGaurav Nirwal
<messaging:emailTemplate subject="{!relatedTo.Name} No  Changes" recipientType="User" relatedToType="Opportunity">
<messaging:plainTextEmailBody >
XXX@XXX.com; {!relatedTo.Owner.Email}

Hello

Thank you

{!relatedTo.Custom__c}



</messaging:plainTextEmailBody>

<messaging:attachment renderAs="pdf" filename="Checklist" rendered="{!relatedTo.Checklists__c > 0}">


 <html>
        <head/>
        <body>
<c:TemplateHelper opportunityIDFromEmail="{!relatedTo.id}" />
  </body>
    </html>
</messaging:attachment>


</messaging:emailTemplate>

Coral RacingCoral Racing
Hi

Thanks for this but will this allow me to cc a recipient into the email template itself?

Thanks

Sonya