The verification email arrives, but its link sends the test user to a login page or leaves the address unverified.

Fastest fix: establish a valid Salesforce session first, then continue the email-change verification flow; for an SSO user, sign in through the organization’s identity provider before opening the link. Treat delivery, link behavior, and the final account state as separate test results.

Salesforce administrators maintaining sandbox users can use this guide to check post-refresh email changes.
QA engineers testing registration, verification, or password-reset flows can use it to separate inbox evidence from account-state evidence.
Developers maintaining SSO test users can use it to confirm where the login session fits in the verification path.

Last updated October 25, 2026; behavior checked against Salesforce Help’s Summer ’26 email-verification guidance, the sandbox user and contact guidance, and Salesforce’s sandbox access and public-group guidance.

Salesforce sandbox refresh verification email testing starts with the user state

A sandbox refresh can leave a test user with an email address that needs attention before the account can complete its normal verification path. Salesforce’s sandbox user guidance describes email-address behavior after a refresh, including the use of a .invalid suffix in applicable cases. Check the actual user record rather than assuming the address stayed unchanged. The suffix is a clue to investigate the record; it does not, on its own, prove whether a message was sent or whether verification succeeded. Salesforce’s sandbox user documentation explains the relevant sandbox email behavior.

When an administrator changes the address, test the resulting verification process as a user-facing flow. Do not stop at the point where the message reaches an inbox. A delivered message establishes that a message arrived at the test receiving address. It does not prove that the link was opened in a valid session, that the verification action completed, or that Salesforce now shows the intended address as verified.

Does a test receiving address work for Salesforce sandbox verification? It can be used as a controlled destination for an authorized test if Salesforce accepts the address and the test team can inspect the message. Acceptance is not guaranteed for every address or domain, so verify it in the organization rather than inferring compatibility. Use only a receiving address approved for your own sandbox or authorized test organization; do not apply this method to critical production accounts.

A clean test record should preserve the exact address submitted, the user who changed it, the message received, the link behavior, and the resulting Salesforce user status. That evidence lets the team distinguish a mail-delivery issue from a session requirement or an incomplete account change.

Observation What it establishes What to verify next
The message appears in the controlled test inbox The message reached that address Whether the intended user can open the link in a valid session
The link redirects to sign-in The verification flow reached an authentication boundary Sign in as the correct user, then resume the flow
The address still appears unverified The account state has not been confirmed as complete Recheck the user record and repeat the flow with the correct session

A sign-in redirect can be expected after the email arrives

Salesforce’s Summer ’26 guidance confirms that verifying an email change requires a valid session. As a result, a link that leads to a login page after a sandbox refresh is not automatically evidence of a broken email. The user may need to authenticate before Salesforce can complete the change. The Salesforce Help article on Summer ’26 email verification describes this behavior.

Why might a Salesforce verification link return to login? The link may have been opened without the valid session required for the email-change verification flow. Have the affected test user sign in to the correct sandbox first, then continue using the verification flow. Do not mark the test as failed solely because the link initially reached sign-in.

This distinction matters in automated and manual testing. If the test records only “email received” and “link opened,” it misses the state that Salesforce requires to complete verification. Conversely, if a test treats every login redirect as a delivery failure, it reports the wrong failure category and sends the investigation toward mail configuration instead of authentication state.

Use the same sandbox and user identity throughout the check. A session for a different user, a different org, or a different authentication route may not demonstrate that the account being tested completed its email change.

Test condition Expected handling Evidence to retain
The user already has a valid Salesforce session Open the verification link and check the result User identity, org, link outcome, and resulting address status
The link first reaches sign-in Authenticate as the affected user, then resume Redirect observed, successful sign-in, and post-login result
The user is authenticated to a different account or org Stop and use the intended test identity and sandbox Correct user and org before interpreting the verification outcome

Users without a usable password need a separate setup path

A test account that relies on SSO may not have a usable Salesforce password for an ordinary password-based sign-in. In that case, a verification test can stall before it reaches the address-change step. Salesforce’s Summer ’26 guidance describes setting a password and establishing a session for users without a valid password before changing and verifying the email address. Follow the instructions applicable to the organization and account; do not assume that every test user has the same login configuration. See Salesforce’s email-verification guidance.

Separate administrator actions from steps that must be completed as the test user:

Owner Action Why it belongs to this stage
Administrator Confirm the sandbox user record, target email address, and permitted login method Prevents testing the wrong account or an obsolete address
Administrator Apply the organization’s approved password or access setup for a user without a usable password Gives the test user a way to establish the session required by the flow
Test user Sign in through the appropriate route and complete the email-change verification Confirms the user-facing path rather than only an administrative configuration

Do not use an administrator’s own session to stand in for the test user’s verification. That can create misleading evidence: the administrator may be able to inspect or edit the record, but that does not show that the user completed the required authentication and verification path. Record which actions were performed by an administrator and which were performed by the test identity.

Also distinguish password setup from password reset. A password reset email is a separate message and a separate user flow. If the test scenario is email verification, do not treat a password-reset message as proof that the address change was verified. If the scenario includes both, assert each outcome independently: the intended message arrived, the correct link was used, authentication succeeded, and the corresponding account state changed.

SSO users must authenticate before opening the verification link

For a test user that signs in through SSO, use the organization’s identity provider to establish the session before opening the verification link. Salesforce’s SSO troubleshooting guidance can help investigate authentication problems, but the test should still distinguish identity-provider sign-in from email verification.

How should an SSO test user complete the flow after a refresh? Sign in through the organization’s SSO route as the affected sandbox user, then open the verification link and check the final address status. Do not treat the SSO redirect alone as proof that Salesforce accepted the email change.

Record the steps as separate assertions:

  • The test user can authenticate through the organization’s SSO route to the intended sandbox.
  • The verification message reaches the approved test receiving address.
  • The link opens for the same user and sandbox after authentication.
  • Salesforce shows the expected final email state.

These checks help isolate the failure. If SSO sign-in fails, the verification link has not yet been tested in a valid session. If SSO works but the address remains unverified, investigate the verification flow and the target user record. If the message never arrives, first establish whether Salesforce issued it and whether the chosen receiving address is usable in that organization.

Preserve selected email addresses before refreshing when it makes sense

Some organizations need particular sandbox users to retain important email addresses through a refresh. Salesforce documents an option to use a designated public group when preserving selected user email addresses is appropriate. This is an administrative prevention option, not a universal requirement: assess the organization’s access model, which users need preservation, and the consequences of carrying those addresses into the refreshed sandbox. Consult Salesforce’s guidance on sandbox access and public groups before changing the setup.

Refresh-planning condition Decision Follow-up
Key sandbox users need their existing email addresses preserved Evaluate Salesforce’s designated public-group approach Confirm the selected users and access implications with the sandbox administrator
The test team can safely change addresses after refresh Handle the changes as part of the post-refresh test plan Identify the approved receiving addresses and verify each change
The organization’s requirements or Salesforce setup are unclear Pause the configuration decision Check current Salesforce Help guidance and confirm the intended behavior in a non-critical test

The cost trade-off is operational. Preserving selected addresses may reduce manual post-refresh changes, while changing them afterward may better fit a test-data policy. Neither choice removes the need to verify the user’s final state. A pre-refresh decision is useful only if the team documents which users are covered and checks that the refreshed sandbox behaves as intended.

Use this decision path to choose the next action

Apply the conditions in order. This prevents the team from treating delivery, authentication, and account state as one pass-or-fail event.

  • If the user record still has a .invalid-suffixed address, confirm the intended replacement address before testing. Otherwise, verify that the address on the record is the one the test expects.
  • If the verification email has not arrived, investigate the send and receiving path before opening any link. If it has arrived, record that as delivery evidence only.
  • If the link reaches sign-in, establish a session as the affected user in the intended sandbox. If the user is SSO-only, use the organization’s SSO route.
  • If the user has no usable password and cannot establish the required session, follow the applicable Salesforce setup instructions before continuing. Do not bypass the identity step with an administrator session.
  • If the session is valid and the address still shows as unverified, repeat the flow carefully and capture the exact user, sandbox, link result, and resulting user status for investigation.
  • If your team is planning another refresh and key addresses matter, evaluate the documented public-group option. Otherwise, include controlled address changes in the refresh test plan.

This decision path is for testing your own sandbox or an organization where you have authorization. Do not use disposable test addresses to validate or manage important production, financial, government, or other long-term accounts. Those accounts need a durable address and a reliable recovery path.

Run a post-refresh acceptance check without mixing evidence

Before closing the test, confirm that the address-change scenario and any password-reset scenario are recorded separately. A concise acceptance record should include:

  • The sandbox and affected test user.
  • The email address on the user record before and after the change.
  • Whether the address had a .invalid suffix and what action corrected it.
  • Whether a verification message reached the approved test receiving address.
  • Whether the link first redirected to sign-in.
  • Whether the user authenticated with a password or through SSO.
  • Whether the link was opened in the session for the same user and sandbox.
  • The final email status shown in Salesforce.
  • Any password-reset message result, if password reset was part of the test rather than a substitute for verification.

These are distinct observations, not interchangeable proxies. A message in an inbox does not show that a user authenticated. A successful login does not show that the verification link completed. A link that opens does not show that Salesforce saved the intended address. Close the test only when the account state matches the expected result.

For teams that need a separate receiving address, choose one approved for controlled sandbox testing and confirm that the organization accepts it. Salesforce behavior can depend on the organization and user setup, so avoid promising that any particular temporary address or domain will be accepted. TempLetter’s service boundaries explain what to check before using a separate inbox, and its privacy guidance for email testing can help assess whether a test address fits the data-handling needs. For a short-lived sandbox check, TempLetter can be considered only after confirming the current service capabilities and Salesforce acceptance; keep a long-term mailbox for accounts that require dependable recovery.

Need a short-term address?

Create an auto-expiring inbox and keep one-time verification separate from your primary email.