Send email messages to internal and external users to ensure they’re registered with a
valid email address that they own. Async email messages contain a verification link (URL). Users
simply click the link to verify their email address. After verifying their email address, external
users can log in with one-time password (OTP) via email (passwordless login).
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Essentials, Performance, Unlimited,
Enterprise, Developer, Professional, and Group Editions
|
| User Permissions Needed |
| To configure email deliverability: |
Customize Application |
| To create, customize, or publish a community: |
Create and Set Up Communities AND View Setup and Configuration |
-
Use the Apex method
asyncEmailConfirmation to send a
verification link in an email message.
Here's an example.
System.UserManagement.sendAsyncEmailConfirmation('005RM000001a0Ox', '00XRM000000hxnG', '0DBRM000000015i', '/s/contactsupport');
-
Optional. Customize the async email template.
-
From Setup, use the Quick Find box to find and select
Classic Email Templates.
-
Next to Communities: User Verification Email, click Edit.
-
To personalize your email content, edit the text in the email body. Use the available
merge fields listed at the top of the page.
To find verification-specific fields, select Network Member
Fields as the field type.
-
Optional. For more flexibility, create a custom async email message that includes a
verification link.
To insert a verification link, use the $Network
AsyncVerificationLink field.
-
Optional. Create a list view that tracks certain verification fields, such as whether users
have verified their email addresses and phone numbers.
-
From Setup, use the Quick Find box to find and select
Users.
-
Click Create New View and select these verification-specific
fields.
- Admin Trusted Mobile Number
- One-Time Password App
- Salesforce Authenticator
- Temporary Code
- U2F Security Key
- User Verified Email
- User Verified Mobile Number