WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Password retrieve email with no link

[Resolved] Password retrieve email with no link

  • ildario
    Member

    @ildario

    When a user tries to retrieve his passowrd trough the “lost password” link on wordpress the emails gets on the inbox but no link shows up.

    Please, can someone point me where this email is generated (wich files?), i’ve found a lot of stuff related to the registration email on google but nothing about the “retriving password” email.

    Thx in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi
    Forum Moderator

    @esmi

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress 3.4.

    ildario
    Member

    @ildario

    @esmi,

    Thx so much for your reply. I was about to try all that but first i took a look at the “wp-login.php” file on the root of my site. What i’ve found is that the address is rendered between “<” tags and that’s not being rendered by email clients.

    I think this is a serious yet simple issue that should be fixed, changing:

    $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";

    for

    $message .= '-' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "-\r\n";

    did the trick for me. But thanks again anyway for your reply.

    esmi
    Forum Moderator

    @esmi

    What i’ve found is that the address is rendered between “<” tags and that’s not being rendered by email clients.

    It’s always worked for me in the email clients I’ve used. What client are you using?

    ildario
    Member

    @ildario

    Strange uh? Any email client… gmail, hotmail, ymail included. I’m pretty sure it is a site specific problem but, anyway, it made me wonder why the address is between “<” tags.

    esmi
    Forum Moderator

    @esmi

    The < > tags are part of the standard RFC for email addresses as far as I recall.

    ildario
    Member

    @ildario

    True, just for the records, as i said, it’s a one install problem for sure, i had problems with contact form 7 plugin for the same reason (the < > tags weren’t read by email client).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Password retrieve email with no link’ is closed to new replies.