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.
From Setup, in the Quick Find box, enter All Sites, and then select All Sites. Next to your site, click Workspaces.
Click Administration, and then select Emails.
Select Use a secondary sender email address, and then enter the secondary sender email address.
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.
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.
|
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.
Is the secondary sender turned on?
Yes: Go to step 2.
No: Go to step 4.
Are the secondary address and its domain verified? If yes, Salesforce sends the email from the secondary address.
If the secondary address or its domain isn't verified, Salesforce sends the email from the substitute address.
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.
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

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.