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
Mitch GoldsteinMitch Goldstein 

Adding send list email button to Related List views

Hello,

When we are in a List View for People, there are check boxes next to each name and we can press the new SF button, Send List Email, to send an email to all people selected.  We have a custom object named Slates which is a related list for our Opportunities.  We want to be able to send a mass email to the slate list.  Is there any way to do this?

TIA,
Mitch
NagendraNagendra (Salesforce Developers) 
Hi Mitch,

Yes, this is possible.

1. Create Custom Javascript Button for List view. Refer this code for how to send an email via javascript.  User-added image2.   Add this button in List View Layout of respective Object.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra