Title: Reset password email template
Last modified: August 31, 2016

---

# Reset password email template

 *  [bogski](https://wordpress.org/support/users/bogski/)
 * (@bogski)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reset-password-email-template/)
 * Hi all,
 * Just a quick question as i cant find a template for it.
 * Is there a default template for the email that is sent when a user requests a
   password reset? i can find the templates for registering, activate and such. 
   just nothing for that.
 * I have a user who is struggling to change their password via the email and i 
   want to check if the links point to the right place.
 * Any help is much appreciated. Thanks
 * Phil

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reset-password-email-template/#post-7422295)
 * Hi, Phil (@bogski). It looks like the message content of this email is built 
   within the `retrieve_password` function in the `wp-login.php` file:
 *     ```
       $message = __('Someone has requested a password reset for the following account:') . "\r\n\r\n";
       $message .= network_home_url( '/' ) . "\r\n\r\n";
       $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
       $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n";
       $message .= __('To reset your password, visit the following address:') . "\r\n\r\n";
       $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";
       ```
   
 *  Thread Starter [bogski](https://wordpress.org/support/users/bogski/)
 * (@bogski)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reset-password-email-template/#post-7422449)
 * Hi girlieworks,
 * Terribly sorry for the late reply I didn’t realise someone had replied.
 * Thanks for that I will start there.
 * Regards,
 * Phil

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reset password email template’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [bogski](https://wordpress.org/support/users/bogski/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/reset-password-email-template/#post-7422449)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
