Loading

Salesforce Sandbox: User Email Addresses Appended With '.invalid' After Sandbox Refresh or Clone

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

When you create, refresh, or clone a sandbox, user email addresses are modified in your sandbox so that production users don’t receive automatically generated email messages from the sandbox. User email addresses are appended with ".invalid". This modification ensures that the system ignores these email addresses.

For example, a user's email of atester@universalcontainers.com in production becomes atester@universalcontainers.com.invalid when migrated to a sandbox. If you want the sandbox users to receive automatically generated emails as part of testing, you can correct the email addresses while logged in to the sandbox.

Important Notes:

  • The User that initiates the Sandbox refresh will have the same email and password as they have in Production and will receive a notification once the Sandbox refresh is complete.
  • If the User who initiates a sandbox clone was manually added as a user in the clone's source sandbox after it was refreshed (i.e. they were not a user in production or automatically copied over when the sandbox was created or refreshed) their user record's email address will also be appended with .invalid, not be notified when the sandbox clone completes, and unable to reset their password. See the Known Issue: User who created sandbox clone has email address altered in resulting clone copy for more details.
  • If an Admin user is unable to login to a sandbox or sandbox clone or reset their password due to their user record's email address being appended with ".invalid", see the article Change an administrator's email address in sandbox for more details.
 
Решение

Sandbox name no longer appended to sandbox User email addresses

In prior Salesforce releases, sandbox email addresses were formatted as email@domain.com@sandboxname.com. The current approach appends '.invalid' instead. 

Example

  • Sample email: atester@universalcontainers.com

 

  • Previous process for emails when the sandbox is refreshed: atester=universalcontainers.com@example.com

 

  • Current process for emails when the sandbox is refreshed: atester@universalcontainers.com.invalid

 

Why use .invalid?

This modification ensures that the system ignores these email addresses and alleviates unnecessary emails to production users from sandboxes.

 

What is Selective Sandbox Access?

Selective Sandbox Access allows administrators to restrict which users have access when creating or refreshing a sandbox.

 Please see Determine Who Has Sandbox Access and Sandbox Access Considerations for more information.

 

How can we update user email addresses in sandbox after refreshing?

See Change a User email address for more information or you may review Mass update email addresses and usernames.
 


Note: Note that changing email addresses on User Records in the sandbox does not affect contact record email fields.

New and refreshed sandboxes have default email deliverability set to System email only. If you're not receiving expected emails from a sandbox see the 'Email Deliverability' section of the Sandbox Setup Considerations documentation for more details.

To avoid sending unsolicited email from your sandboxes, manually invalidate or delete all email addresses in your sandboxes that don’t belong to users of the sandbox. When testing outbound email, change contact email addresses to the addresses of testers or an automated test script. Please note as of Summer Release 19', Users must have a verified email address and ".invalid" removed from the email address in order to send email alerts via Workflow, Process, Flows or Triggers.
Номер статьи базы знаний

000386507

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