For some reason, Salesforce is adding a sandbox name at the end of all contact's email address'. So for example if my contact's email is [email protected] and it ends with [email protected]. Any ideas why it happens?

  • I've never seen this on contacts, only on users. Are you sure it's on contact?
    – gorav
    Jul 20, 2019 at 13:04
  • Yes, I'm sure it's on contact.
    – Kitka92
    Jul 22, 2019 at 7:35

1 Answer 1


This is standard behaviour to ensure that no unwanted emails actually reach the person. You may have automation in your org that spams the recipients, you probably don't want this to happen uncontrolled. So by invalidating email addresses (and making sure you can find out what is going wrong) Salesforce prevents you from automatically and involuntarily sending out emails.

  • Is there a way to disable it (at least for a particular period of time) ?
    – Kitka92
    Jul 19, 2019 at 9:34
  • Not that I'm aware. If I need to have valid addresses in a sandbox, I retrieve the records with dataloader, search & replace the name of the sandbox with nothing, and save the data with data loader again. Crude, but works. Jul 19, 2019 at 9:44
  • Tried with your solution but it doesn't work - after I update data with a Data Loader, there's still the name of the sandbox visible.
    – Kitka92
    Jul 19, 2019 at 10:24
  • Hi Kitka92, maybe we have a miscommunication. You can update the email address, not the username. The username is usually globally unique. If you have [email protected] on production and [email protected] on your sandbox, renaming the sandbox user would create 2 users with the same user name. Jul 31, 2019 at 9:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .