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
niven sf 1niven sf 1 

Hi all, I'm looking for a way to send Emails to Leads, on a random basis. Please help me how to do this.

Meenu MathewMeenu Mathew
Hi,

Refer the following steps:
  1. First, select the type of recipients you want to mass email.
    1. To mass email to contacts, click “Mass Email Contacts” in the “Tools” section at the bottom of the “Contacts or Cases” tabs.
    2. To send mass emails to leads, click “Mass Email Leads” in the “Tools” section.
    3. To send mass emails to users, click “Your Name”, Setup, Manage Users, Mass Email Users.
  2. Select a list view of recipients and click “Go!” By default, all the recipients in the list view are selected, so take a second to deselect any recipients you wish to exclude. If you haven’t created a list view yet, you will need to do so by clicking on “Create New View” to the right of the dropdown.
  3. Click “Next”.
  4. Choose from the available templates. Note that you cannot use Visualforce templates for mass email.
  5. Next, preview your template, which is optional but recommended. Click “Preview”, and be sure it looks exactly how you expect it to.
  6. Click “Next”.
  7. You will now be brought to the confirmation page. You may select from the following
    1. “Processing Options”
    2. “BCC me on the message”
    3. “Store an activity for each message”
    4. “Use my signature”
    5. “mass Email name”
  8. You are now presented with a choice for delivery. You may send it immediately by pressing “Send Now”, or you may provide a date and time for “Schedule for delivery on”.
  9. Click “Send” to submit the email job.
  10. Click “Finished” to complete!
Thanks
Ajay K DubediAjay K Dubedi
Hi niven,
Can you please be precise with your requirement? 
For the email part, there are many ways to send an email alert to leads or any other objects in salesforce:
1. Workflows
2. Process Builders
3. Lightning flow

Please have a look at the below references:
https://help.salesforce.com/articleView?id=vpm_designer_elements_action_email.htm&type=5 (http://​https://help.salesforce.com/articleView?id=vpm_designer_elements_action_email.htm&type=5)
https://developer.salesforce.com/forums/?id=906F0000000kGGvIAM

Hope it helped!

Thank you,
Ajay Dubedi