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

i want send email through apex code when case owner is change and email should go to old owner

Om PrakashOm Prakash
Hi Yash,
From Trigger , get the old owner by Trigger.oldMap, and send email to owner email.
Please do this trailhead module.

Feel free to ask if any queries from your code.