Contact Us

January 26, 2025

May 13, 2026 5:51 pm

Resolving email sending issues in Salesforce Marketing Cloud sandbox

Share with

Understanding the Issue

The error message ‘We can’t send this email because the following recipients opted out of receiving email’ typically indicates a consent issue, where the recipient has opted out of receiving emails. However, in this case, the recipient is a Salesforce user, not a contact or lead with consent records, which suggests that the issue lies elsewhere.

The root cause of this issue is the lack of domain authentication in the sandbox environment. When a domain is not authenticated, Salesforce Marketing Cloud cannot verify the sender’s identity, leading to consent-related errors.

Resolving the Issue

To resolve this issue, teams need to authenticate their sending domain in the sandbox environment. This involves setting up domain authentication, which verifies the sender’s identity and ensures that emails are sent from a trusted source.

Domain Authentication Setup

// Example code for setting up domain authentication
// Note: This is a high-level example and may require additional configuration
SET @domain = 'yourdomain.com'
SET @authType = 'DKIM'
// Configure domain authentication settings

Once domain authentication is set up, teams can re-test email verification to ensure that emails are being sent successfully.

Best Practices

To avoid similar issues in the future, teams should ensure that their sending domain is authenticated in all environments, including sandboxes.

Domain Authentication Checklist

  • Authenticate your sending domain in all environments, including sandboxes
  • Verify that domain authentication is set up correctly
  • Test email verification to ensure that emails are being sent successfully
  • Monitor email sending activity to detect any issues
  • Regularly review and update domain authentication settings as needed

Frequently Asked Questions

What is domain authentication in Salesforce Marketing Cloud?

Domain authentication is the process of verifying the sender’s identity to ensure that emails are sent from a trusted source.

Why is domain authentication required in sandbox environments?

Domain authentication is required in sandbox environments to ensure that emails are sent from a trusted source and to prevent consent-related errors.

How do I set up domain authentication in Salesforce Marketing Cloud?

To set up domain authentication, navigate to the Domain Authentication settings in your Salesforce Marketing Cloud account and follow the instructions to configure your domain authentication settings.

What are the benefits of domain authentication in Salesforce Marketing Cloud?

The benefits of domain authentication include improved email deliverability, reduced risk of spam filtering, and enhanced security.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert