You need to sign in to do that
Don't have an account?
Nick D'Addario
Adding Attachments from Notes & Attachments section to Visualforce Email Template?
I'm looking to add all of existing attachments from the Notes & Attachments section on opportunities to a Visualforce email template. The Email is sent automatically (Process Builder) when an opportunity reaches a certain stage. I'd imagine that I'd need to use an apex class that creates the email itself, calls the template I've made, and appends the attachments to it. I would then use process builder and define the apex class as the the action instead of the email template. Has anyone had any success in doing this?
May I suggest you please refer the link from success community.
- https://success.salesforce.com/answers?id=90630000000i9KlAAI
Hope it will be helpful.Thanks
Rahul Kumar