Loading

How Experience Cloud Sites Choose the From Address for Sensitive Emails

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

Overview

By default, email from your site goes through your corporate email relay. Salesforce sends emails that contain sensitive data through its own servers instead. Sensitive emails are messages that contain a magic link or code, such as password reset, email verification, and Welcome emails for users who sign in with a username and password. With the secondary sender, you choose the From address for those sensitive emails and leave your primary domain's DomainKeys Identified Mail (DKIM) settings unchanged. See Customize Email Sent from Experience Cloud Sites.

What "secondary" means: Think of the secondary sender as the address Salesforce uses for sensitive email whenever it's set up, even though the name suggests a backup. If you turn on secondary sender, Salesforce always tries it first for sensitive email. This behavior applies whether your primary address is verified.

If you turn on the secondary sender, emails that don't contain sensitive data still go through your corporate email relay.

Решение

Set Up a Secondary Sender

  1. From Setup, in the Quick Find box, enter All Sites, and then select All Sites. Next to your site, click Workspaces.

  2. Click Administration, and then select Emails.

  3. Select Use a secondary sender email address, and then enter the secondary sender email address.

  4. Verify the secondary address and its email-sending domain. Salesforce doesn't send email through the secondary sender until both are verified.

To stop using the secondary address without deleting it, deselect Use a secondary sender email address. A separate setting controls whether the address is used, so a verified secondary address isn't used when the setting is off.

What is the Substitute Address?

The substitute address is the fallback when the address Salesforce wants to use isn't verified. It's one of two addresses:

  • Your site's sender email address, if you select Enable Email Domain Substitution

  • The org-wide substitute email address that’s set on the Deliverability Setup page, if you don't enable email domain substitution

If neither address is set, or if domain substitution is turned on but your site's sender address isn't verified, Salesforce suppresses the email. For examples, see Send Email for Users with Unverified Domains.

Which From Address Is Used

Message Type

Primary Domain Verified

Secondary Sender 

From Address Used

Sent Through Email Relay

Non-sensitive

Yes

N/A

Primary

Yes

Non-sensitive

No

N/A

Substitute address

Yes

Sensitive

Yes

Turned off

Primary

No

Sensitive

No

Turned off

Substitute address

No

Sensitive

N/A

Turned on, verified

Secondary

No

Sensitive

N/A

Turned on, not verified

Substitute address

No

Non-sensitive email always goes through your relay with the primary address, even when the secondary sender is on and verified. An email with no magic link or code, such as the Welcome email for an SSO user, is non-sensitive.

Decision Flow for Sensitive Email

  1. Is the secondary sender turned on?

    1. Yes: Go to step 2.

    2. No: Go to step 4.

  2. Are the secondary address and its domain verified? If yes, Salesforce sends the email from the secondary address.

  3. If the secondary address or its domain isn't verified, Salesforce sends the email from the substitute address.

  4. Is the primary sender address verified? If yes, Salesforce sends the email from the primary address. If not, Salesforce sends the email from the substitute address.

Good to Know

  • Verification method doesn't matter. Salesforce treats Authorized Email Domains (AED) and DKIM verification equally when it chooses between addresses. If the primary address is AED-verified and the secondary address is DKIM-verified, the choice doesn't depend on the method.

  • Routing depends on the message, not the email type. Salesforce routes an email based on whether it contains a magic link or code, so the same email template can route differently for different users. For example, with a secondary sender configured:

    • A Welcome email to a non-SSO user contains a magic link. Salesforce treats it as sensitive and sends it directly from the secondary sender address.

    • A Welcome email to an SSO user has no magic link. Salesforce doesn't treat it as sensitive, so it goes through your email relay with the primary sender address.

    This is expected behavior. It doesn't mean that secondary sender isn't working.

  • Pending sender changes. If you change the sender address, Salesforce continues to use the existing address until you confirm the new address through the verification email.

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

005462349

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