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
bheemudu neelibheemudu neeli 

Emails related section is not available for custom objects by default in Salesforce

Emails related section is not available for custom objects by default in Salesforce 
I hope we can achieve the same Sand an Email functionality by using code.
So any have the code snippets to achieve the same User-added image


Thank you,
AnkaiahAnkaiah (Salesforce Developers) 
Hi Bheemudu,

Instead of writing code, you can add activity history related to the custom object. you will have send email button under activity history.

User-added image

If this helps, Please mark its as best answer.

Regards,
Ankaiah





 
bheemudu neelibheemudu neeli
Hello Ankaiah,
I already have the same feature on the Activity history level, but the client expects Reply, ReplyAll, and Forward buttons.
So we want to customize functionality the same as the Emails object to do.

With Regards,
Bheem