The problem is the <
and >
which surround the reset URL in wp-login.php
. You can remove them using retrieve_password_message in your theme functions.php
file like below:
add_filter("retrieve_password_message", "mapp_custom_password_reset", 99, 4);
function mapp_custom_password_reset($message, $key, $user_login, $user_data ) {
$message = "Someone has requested a password reset for the following account:
" . sprintf(__('%s'), $user_data->user_email) . "
If this was a mistake, just ignore this email and nothing will happen.
To reset your password, visit the following address:
" . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
return $message;
}
Related Posts:
- Disable user registration password email
- password reset link not being sent
- Customizing lost password email
- Reset Password – change from name and email address
- Locked out of my own blog and password reset not working
- Change Password notification text on mail
- Emailing passwords: Setup installed on home server using XAMPP
- Requiring wp-login.php sends headers automatically
- Resend password chosen by WP administrator? [duplicate]
- Changed my email. Locked out
- Changing old email to new email, lost the password
- Why would it take four reset password attempts to finally get the e-mail?
- Sending a password reset link
- forgot password page with expiry link email of 60 minutes
- Cant login, Password MUST be reset error, after reset
- SMTP connect() failed PHPmailer – PHP
- What is the difference between ports 465 and 587?
- Email validation in Ruby on Rails?
- Is there a way to embed an iframe in an email with text that updates?
- Sending multipart (text/html) emails via wp_mail() will likely get your domain banned
- How to set SMTP programmatically
- changing notification emails from WordPress @mydomain.net to something else
- wordpress redirect after password reset
- Check for correct username on custom login form
- Alert Email when any Post or Page is Changed
- Do something after sending email
- How do I customise the new user welcome email
- How do you update user_email on the front end in WP 3.3?
- User Without Email?
- “Reply-to Address” Email
- How do I create a password reset link?
- Email user when password is reset by admin
- prevent users from changing their email address
- Editing ‘Password Reset’ E-mail
- Disable new user notification to admin email
- Allow Duplicate Email Address for Different Users
- Email confirmation on registration
- Create custom welcome email without a plugin
- Include HTML template file in wp_mail
- Email sent from WordPress has HTML tags
- How to disable automated E-Mail on PHP error/exception?
- How do i send mail with custom Form Data using WordPress
- Email as Username in registration
- How can I modify the default reset (lost) password email text?
- WooCommerce changes lost password reset link
- Email stats at Ma.tt contact form
- Fwd: [Website Name] Notice of Email Change [closed]
- Send all WPMU emails via SMTP
- Send mail to wordpress admin
- Force all users in MU to change their passwords
- Send a confirmation of user role upgrade conditionally
- WP Cron emails not working
- Reseting admin password through PHPMyadmin fails
- Dynamically send pdf attached to post with contact form 7 [closed]
- Few chars getting replaced with ‘=’ in mail content in wp_mail()
- wp_mail recipient array not sending?
- Check Password Reset Key Not Woking
- Reset password – set minimum length for new password
- Need to manually regsiter user, send the password and retreive their user ID
- Transferring contact form input to an email account without using an email-proxy
- Should I use the standard wp_mail() function for a premium theme?
- Password reset message – change the network_home_url( ‘/’ )
- WooCommerce lost password reset flow not working with SendGrid (redirect loop)
- Lost password link is redirecting to /shop/my-account/lost-password/
- On form submission how to send 2 email to different users
- How to Configure SMTP on wordpress Cant Send Email
- email wordpress users using BCC
- Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]
- email sends from [email protected] even though I have it set to something else
- How to add line breaks to $email[‘body’] when using auto_core_update_email hook
- Handle registrations in WordPress when user doesn’t have any email?
- Joining confirmation email
- How to sent one form values to 2 different sites in wordpress
- How to setup SMTP for only one specific wp_mail()
- apostrophe in email name
- Sanitizing and validating email field
- Disable WP notifications for commenting on own posts
- General Setting Allow Multiple Email Notification
- Must I change the admin user email address while changing the general email address?
- User invite email not delivered – related to subdomain?
- Can I configure WordPress to use postfix without a plugin?
- How to change the language of the ‘Reset Password’ page
- Ability to download only after email supplied [closed]
- Batch Emails with wp_mail()
- Email notification after registration in WordPress
- Subscribe from another website to the same list [closed]
- How to customize reset_url or $reset_url
- Obfuscating Email Addresses in Form Fields
- Email ‘from address’ has a www in it
- How to validate website field in contact form 7?
- How to Change WooCommerce new order email?
- Trigger WordPress Actions from Email?
- WordPress E-mail Config
- Is there no way to send email using SMTP without plugin or custom coding?
- Customize reset password form redirect problem
- How to change WordPress email notification sender?
- Right practice to edit WP reset password email
- Contact form sender email
- PHP mail() works but wp_mail() does not
- Send email daily from WordPress site