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

how to send an billions of emails to contact obejct using Batch apex

i need to send a Billions of emails to contact using Batch Apex .i am New in Salesforce Apex . how can do this Batch Apex for MassEmail to Contact. please help me .......................

Ronak PatelRonak Patel

You Cant do that.

There is limit for Sending Email(1000 Email per Day Per Organization)
So you have to Schedule your Batch Apex For day. 

Andy BoettcherAndy Boettcher

Salesforce is not designed for this purpose.  You will need to use a 3rd party (which can do this - and can integrate with Salesforce) like Marketo or something.