You can define an allowlist to restrict the email domains allowed in a user’s Email field.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: all editions |
| User Permissions Needed | |
|---|---|
| To restrict user email domains: | Manage Users |
-
From Setup, in the Quick Find box, enter Allowed Email Domains, and
then select Allowed Email Domains.
Note If you don’t see this page, enable the allowlist. For more information, see Enable the Email Domain Allowlist. - Click New Allowed Email Domain.
-
Enter a Domain.
You can enter a top-level domain, such as sampledoc.org, or a subdomain, such as emea.sampledoc.org.
- Click Save.
You can repeat the steps to add more email domains to the allowlist.
After you've added one or more email domains, the Email field for each new user must match an allowed domain.
The Email field for existing users doesn’t have to comply with the allowlist. However, if you edit an existing user, update the Email field to match an allowed email domain.
Note The email domain allowlist doesn't apply to users external to your org, such as portal,
Experience Cloud site, or Chatter External users.