sendRecoveryEmail( )


Sends a member an email containing a customized link to a Wix-managed page where the member can reset the password for their account.

Method Declaration
Copy
function sendRecoveryEmail(
  email: string,
  options: SendRecoveryEmailOptions,
): Promise<void>;
Method Parameters
emailstringRequired

Email address associated with the account to recover.


optionsSendRecoveryEmailOptions
JavaScript
import { recovery } from "@wix/identity"; async function sendRecoveryEmail(email, options) { const response = await recovery.sendRecoveryEmail(email, options); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?