> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: sendSetPasswordEmail(email: string, options: SetPasswordEmailOptions) # Method package: wixMembersBackend # Method menu location: wixMembersBackend --> Authentication --> sendSetPasswordEmail # Method Link: https://dev.wix.com/docs/velo/apis/wix-members-backend/authentication/send-set-password-email.md # Method Description: Sends a site member an email with a link to set or reset their password. The `sendSetPasswordEmail()` function returns a Promise that resolves when the set password link is emailed to the member. The set password link is valid for 3 hours, and it can be used only once. If the link expires, no changes are made to the password. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Email a member with a link to set or reset their password ```javascript import { Permissions, webMethod } from 'wix-web-module'; import { authentication } from 'wix-members-backend'; /* Sample options value: * { * hideIgnoreMessage: false * } */ export const mySendSetPasswordEmailFunction = webMethod(Permissions.Anyone, (email, options) => { return authentication.sendSetPasswordEmail(email, options) .then((status) => { if (status === true) { console.log('Email sent'); } return status; }) .catch((error) => { console.error(error); }) }); ``` ---