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
Bernd NawrathBernd Nawrath 

PDF attachment in email template

hello dear community,I want to attach a PDF (visualforce component) to an email template which is going to be sent. The email issupposed to be sent to a new account when this account is added. What would the template look like and how do I attach this file to the email template?

thanks in advance! :)
PratikPratik (Salesforce Developers) 
Hi Berned,

This will help you to get started:

http://salesforce.stackexchange.com/questions/21705/add-pdf-attachments-dynamically-to-email-alerts
http://salesforce.stackexchange.com/questions/22251/insert-attachment-into-visualforce-email-template

Thanks,
Pratik