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
Manj_SFDCManj_SFDC 

Send email to all contacts when account is updated

Hello everyone, 

I have a requirement as follows,

when the Account in updated need to send the email to all the contacts,

custom object - stores the attachments related to contacts
contact has field -Assigned To  which can store either user or group data

when the account is updated , I need to query all the contacts related to that account, all the attachments related to the contact and Assigned To field from contact 
send an email to the contacts with attachments and to the user/group in the Assigned To field

can anybody help

Thanks