Sends a member an email containing a customized link to a Wix-managed page where the member can reset the password for their account.
function sendRecoveryEmail(
email: string,
options: SendRecoveryEmailOptions,
): Promise<void>;
Email address associated with the account to recover.
import { recovery } from "@wix/identity";
async function sendRecoveryEmail(email, options) {
const response = await recovery.sendRecoveryEmail(email, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.