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

Sendingemail limit exceeded

Mario PaesMario Paes
If you are sending emails through Apex, you might have exceeded the daily limit for sending emails.

Here are the governor limits on outbound emails : (

Outbound Email: Limits for Single and Mass Email Sent Using Apex

Using the API or Apex, you can send single emails to a maximum of 1,000 external email addresses per day based on Greenwich Mean Time (GMT). Single emails sent using the Salesforce application don't count toward this limit. There’s no limit on sending individual emails to contacts, leads, person accounts, and users in your organization directly from account, contact, lead, opportunity, case, campaign, or custom object pages.

When sending single emails, keep in mind:

You can send 100 emails per SingleEmailMessage.
If you use SingleEmailMessage to email your organization’s internal users, specifying the user’s ID in setTargetObjectIdmeans the email doesn’t count toward the daily limit. However, specifying internal users’ email addresses in setToAddressesmeans the email does count toward the limit.