You need to sign in to do that
Don't have an account?
Daniel Muir
Sending Attachment from Object Notes and Attachments section from Salesforce email
Hi All,
Is there a way that we can send an email from Salesforce and easily attach items form a custom objects notes and attachmnets section? The current method of saving locally and then uploading is very time consuming.
From what I have seen so far, the best method is to create a custom "send email" button which fetches the required attachments, but as I am not a developer I cannot say this with any clarity.
Is there a way that we can send an email from Salesforce and easily attach items form a custom objects notes and attachmnets section? The current method of saving locally and then uploading is very time consuming.
From what I have seen so far, the best method is to create a custom "send email" button which fetches the required attachments, but as I am not a developer I cannot say this with any clarity.
Please follow this example, create a visual force page and extension controller and create a custom button by adding this visual force page to the corresponding object.
Controller Extension: Visual Force Page:
If this helps to solve your problem, please choose this as the best answer.
Thank you!
<apex:page standardcontroller="exampleObject__c" extensions="sendAttachments">
String []ToAddress= new string[] {'example@gmail.com'};
Hope this helps, if this helps please choose this as best answer.
Thank you!
I will try this now.
I noticed that you wrote a piece regarding email ID's. The attachments we would be sending would be related to the contact in the specific record, with an email template, and may add others in CC if necessary. Is that also possible with this code?
Hope this helps
Thank you