Loading

Single Email Daily Limits for Emails Sent Using Apex and Salesforce APIs (SingleEmailMessage)

Дата публикации: Jun 28, 2026
Описание

Salesforce enforces daily sending limits on emails sent through the SingleEmailMessage API, Apex triggers, and Apex classes. These limits apply per org per day and govern how many email recipients can receive system-generated emails from your Salesforce org. This article answers frequently asked questions about these limits, how to check your org's remaining email capacity, and what happens when the limit is reached or reserved programmatically.

Решение

What Are the Single Email Limits for Apex Triggers, Apex Classes, and the API?

The Salesforce SingleEmailMessage API limits your org to 5,000 email recipients per day (limit name: "Maximum SingleEmailMessage recipients per day"). This limit applies to emails sent from Apex triggers, Apex classes, and direct API calls using SingleEmailMessage. Free and Trial orgs have reduced limits.

Where Can I View How Many Emails My Org Has Remaining?

The SingleEmailMessage limit is available via the REST API. See the article Checking the SingleEmailMessage limit for step-by-step instructions to view the remaining limit for your organization.

If I Use reserveSingleEmailCapacity() Before Sending, Can I Catch the Exception and Save the Record?

The reserveSingleEmailCapacity() Apex method attempts to reserve email sending capacity before an email is sent. If the daily limit is already reached, calling this method raises a System exception. Because this is a System exception — not a catchable DML exception — it is not possible to catch it in a try/catch block and still save the record. The record save will be prevented.

Important Considerations for SingleEmailMessage Limits

  • All recipients count against the limit. All addresses in the To, Cc, and BCC fields count toward the daily limit. For example, an email with 2 addresses in the To field and 1 in the CC field counts as 3 recipients against the limit. BCC emails added via the Compliance BCC Email setting are not counted.
  • Emails sent using setTargetObjectId() against the User object do not count. Emails sent via this method targeting User records are exempt from the SingleEmailMessage daily limit.
  • Trial organizations have a default limit of 15, not 5,000. If you have an active Salesforce contract, Support can increase this limit to the standard 5,000. Salesforce recommends completing primary testing in a Sandbox or Developer environment whenever possible. Contact Support to request a limit increase for a Trial org.

Дополнительные ресурсы

General email limits
 

Номер статьи базы знаний

000384947

 
Загрузка
Salesforce Help | Article