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
Saie Shendage 7Saie Shendage 7 

How to send an email to selected list of contacts on button click?

I am displaying contacts in the table format and selecting required contacts using checkbox. I want a button below that table in order to send email to selected contacts.
Please help and provide the code with VF page and custom apex controller. Thank you in advance
Best Answer chosen by Saie Shendage 7
AnudeepAnudeep (Salesforce Developers) 
A similar question has already been answered here. I recommend taking a look at the sample code

Let me know if it helps

All Answers

AnudeepAnudeep (Salesforce Developers) 
A similar question has already been answered here. I recommend taking a look at the sample code

Let me know if it helps
This was selected as the best answer
Saie Shendage 7Saie Shendage 7
Thank you Anutej. This code really helped me.