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
TechBlossomTechBlossom 

attachments in 'Send an Email'

Hi All,

 

My organization has a custom oject, proposals__c. Each proposal has multiple pdf files attached to it, which are listed in the 'Notes and Attachments' related list. Whenever a salesforce user clicks on 'Send an Email' button from the Activity History, these attachments(for that particular proposal) should automatically be attached in the send an email visualforce page. The user should have an option to check or uncheck any of the attachments, i.e. he can send only the attachments that he would choose. Is there a way to achieve this using visualforce email templates? If no, then can I use a custom button to pull up a custom visual force page for sending emails? I should retain the rich features of the standard salesforce page in either case. Any help on how this can be acheived. I am a relatively new programmer, so some sample code or examples is greatly appreciated 

 

Thanks,