You need to sign in to do that
Don't have an account?

Send an Email with an attachment
Hi,
Is it possible to create a button that will send an email and add one of the attached files, but only the most recently added file? Please let me know if this is possible.
Is it possible to create a button that will send an email and add one of the attached files, but only the most recently added file? Please let me know if this is possible.
https://salesforce.stackexchange.com/questions/154340/select-attachments-from-notes-and-attachments-in-send-email
You just change the attachment query as below.
select Name, Body, BodyLength from Attachment where ParentId = :AccountId Order By LastModifiedDate DESC Limit 1
Please mark it best if it helps you. Thanks.