After every email delivery stage in Salesforce, the recipient mail server sends back a three-digit response code. These codes are found in Salesforce by running an Email Log File. In Salesforce Classic, navigate to Setup > Logs > Email Log Files. In Salesforce Lightning Experience (LEX), navigate to Setup > Environments > Logs > Email Log Files. Download and open the attached log file to verify whether an email was sent and to identify any non-delivery or bounce issues.
Each response code is composed of three digits in the format X.X.X. The first digit indicates the delivery status of the email message:
Request an Email Log
Email Log Reference
Mail Non Delivery (NDR) codes
To troubleshoot email delivery issues in Salesforce, run an Email Log File from Setup > Environments > Logs > Email Log Files and locate the three-digit response code in the downloaded log. Match the code to the descriptions below to understand the root cause and determine next steps.
The following codes appear most frequently when troubleshooting email delivery in Salesforce:
The following is a complete list of email delivery error codes based on the Extended SMTP (ESMTP) standard. In these codes, X represents either 4 (Persistent Transient error) or 5 (Permanent error), depending on the error type:
000388460