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
jishan royjishan roy 

There is a button on leads home page called "Send list email" where a user can select multiple leads and send emails to all of them using this button. My task is when i click on this button and emails are sent then I want to automatically change the statu

hello,
There is a button on leads home page called "Send list email" where a user can select multiple leads and send emails to all of them using this button. My task is when i click on this button and emails are sent then I want to automatically change the status of leads from Open - Not Contacted to Working - Contacted.


can anyone help me out of this question?

thanks in advanced.
AnkaiahAnkaiah (Salesforce Developers) 
Hi Jishan,

Send list email button is a custom button, if yes then you need to update logic in the respective class.

Thanks!!
jishan royjishan roy
hii ankaiah

its standard button on lead object.