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

Can i get the daily email limit for an org using apex?

Hi i want to know the current emails sent out and the email limit for the an org using apex, can this be done?


I don't there is way to access the limits meta data.

Rasmus MenckeRasmus Mencke

It is not possible to get the email limit. You can reserve the emails you want to send out, before making the call, to ensure your code is able to send out the number of emails you need.

Hii disturbed118 ,

can you please check this app for avoiding daily email limit in Salesforce
MassMailer lets you send unlimited emails from within Salesforce, no matter which edition you use. Built on the Salesforce platform, it has all the mass email features you’ll ever need.Build, send, and schedule professional-looking emails with a simple to use email Wizard within Salesforce – no HTML experience required.

You can try this app by installing from appexchange- MassMailer

For Developer's Guide please click here-Developer's Guide

You can learn more details about the product on this website -Link