Loading

Error 'This is a permanent error' on undeliverable email via Add Email option

Julkaisupäivä: Jul 23, 2026
Kuvaus

This article covers undeliverable email errors that occur when using Email to Salesforce (Email-to-Salesforce) or the Salesforce for Outlook (SFO) Add Email feature in both Salesforce Classic and Lightning Experience. If you receive a bounce-back email stating that your message is undeliverable and cannot be added to Salesforce, the cause is one of four scenarios described below.
Note: Information in this article applies to both Classic and Lightning Experience.

Ratkaisu

Scenario 1: Unauthorized Sender Email Address

Error message received:

"A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: {Your Email to Salesforce Address} (Undelivered): 554 Transaction failed: {Email Address you used to add the Email} is not authorized to send emails to this service."

OR

"{Your Email to Salesforce Address} (Undelivered): 551 SenderAuthorization: {Email Address you used to add the Email} is not authorized to send emails to this service."

To resolve this issue, add the email addresses you use with Email to Salesforce or Salesforce for Outlook (SFO) to your acceptable email list.
In Salesforce Classic:

  1. Click Your Name | My Settings | Email | My Email to Salesforce
  2. In the 'My Acceptable Email Addresses' field, add the email address(es) you use to add emails to Salesforce.
  3. Click Save.

In Lightning Experience:

  1. Click your Avatar | Settings | Email | My Email to Salesforce
  2. In the 'My Acceptable Email Addresses' field, add the email address(es) you use to add emails to Salesforce.
  3. Click Save.

Scenario 2: Email Attachment Size Too Large

Error message received:

"A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: {Your Email to Salesforce Address} The recipient's mailbox is full and can't accept messages now. #5.2.2 SMTP; 552 Message is too large; 10485760 bytes max #SMTP#"

This error is related to the size of files attached to the email. The size limit for an attached file is 5 MB when attached directly to the related list. The size limit for all files attached to an email is 10 MB.

Scenario 3: Email Body Exceeds 32,000 Character Limit

Error message received:

"{Your Email to Salesforce Address} (Undelivered): 554 System.LimitException: Regex too complicated (System Code)"

When adding an email to Salesforce using Email to Salesforce or Salesforce for Outlook, the record is added as a Task. The email body becomes the Task description, which has a limit of approximately 32,000 characters. If the email body is too large, the message is rejected. Contact Salesforce Support to request an increase to the 32,000 character limit.

Scenario 4: Required Fields Missing on Activities

Error message received:

"The apex class Messaging.EmailToSalesforceHandler failed due to: System.UnexpectedException: Required fields are missing: [fields]"

This bounce-back message occurs when there is a universally required field on Activities that is not populated. To resolve this, identify which fields on the Activity object are set as universally required in your org and ensure they have valid default values, or remove the universal requirement. Contact your Salesforce Administrator to review required fields on the Activity (Task) object layout.

See also
Set up Email to Salesforce
File Size and Sharing Limits
Error 'You cannot use more than 32,000 characters' when you send an email from the Case Feed Publisher

Knowledge-artikkelin numero

000385693

 
Ladataan
Salesforce Help | Article