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
jaishrijaishri 

i want to write a trigger for when case is closed send a email with attachment to contact case

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Jays,

What should be in the attachment. Is it some attachment attached to the case or do we need to generate some attachment?

Can you let the community know what you have tried and where exactly you are struck so it would be easy for community to help you on it.

Thanks,
 
jaishrijaishri
when a case is closed there is need to send a email to case contact with attachment like we upload any file ,image in that case using trigger