link missing in "reset password" email notification

Home Forums Legacy Support Support queries Setup issues link missing in "reset password" email notification

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2583
    RMA
    Spectator
    When a request is sent to reset the password, the email that is sent to student / customer to reset their password is missing. The email reads like this: <span style="color: #000000; font-family: Times New Roman;"> </span> <p style="margin: 0in 0in 0pt;"><span style="color: #000000; font-family: Times New Roman;">"Someone requested that the password be reset for the following account: (website)</span></p> <p style="margin: 0in 0in 0pt;"><span style="color: #000000; font-family: Times New Roman;">Username: (email address).</span><span style="color: #000000; font-family: Times New Roman;"> If this was a mistake, just ignore this email and nothing will happen. To reset your password, visit the following address: "</span></p> <p style="margin: 0in 0in 0pt;">The link is missing.</p> <p style="margin: 0in 0in 0pt;">How to fix this issue?</p> <p style="margin: 0in 0in 0pt;">Thanks</p> <p style="margin: 0in 0in 0pt;"></p>  
    #2585
    Joey Suarez
    Spectator
    Unfortunately, that's not a WPLMS issue: http://support.vibethemes.com/support/solutions/articles/1000201913-reset-password-link-missing We have it too, but we are yet to find out how to solve it. One of the links above suggests to use this plugin: https://wordpress.org/plugins/custom-forgot-mail/ But we already have enough plugins installed and they're slowing down the site. Has anyone solved this yet without the need of an additional plugin?
    #2665
    Anshuman Sahu
    Keymaster

    This is not WP bug while sending the html emails, but WP sends password in "<" and ">" and google looks like filtering it and in mail there is no link. If i remove those simbols from wp-login.php $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";

    Then link is in email. SO we have to change < > to let's say ( ). Also disabling the html emails of wplms will resolve this issue . refer to disable html emailing : https://wplms.io/support/knowledge-base/disable-wplms-html-emails/

    #12108
    salesforcepak
    Spectator
    i tried to change that code in wp-login but its still not working. can any one paste here the exact code to be replaced with , thanx changed code is this $message .= '(' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ")\r\n";  
    #12151
    Anshuman Sahu
    Keymaster
    Please try settings up a froget password mail from lms -> settings -> emails -> forget password mail . refer :  http://prntscr.com/9a5ack
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘link missing in "reset password" email notification’ is closed to new replies.