> 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: SendSetPasswordEmailOptions) # Method package: wixMembersV2 # Method menu location: wixMembersV2 --> authentication --> sendSetPasswordEmail # Method Link: https://dev.wix.com/docs/velo/apis/wix-members-v2/authentication/send-set-password-email.md # Method Description: Sends a site member an email with a link to set their password. The set password link is valid for 3 hours, and it can be used only once. If the link expires, the original password remains. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## sendSetPasswordEmail example ```javascript import { authentication } from 'wix-members.v2'; async function sendSetPasswordEmail(email, options) { try { const result = await authentication.sendSetPasswordEmail(email, options); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## sendSetPasswordEmail example for exporting from backend code ```javascript import { authentication } from 'wix-members.v2'; import { webMethod, Permissions } from 'wix-web-module'; export const sendSetPasswordEmail = webMethod( Permissions.Anyone, async (email, options) => { try { const result = await authentication.sendSetPasswordEmail(email, options); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---