This topic has 9 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #98176
     bkozlowski
    Participant

    My users are not receiving the password reset link in their lost password email:

    Someone requested that the password be reset for the following account: XXXXX Username:XXXX If this was a mistake, just ignore this email and nothing will happen. To reset your password, visit the following address:

    It appears that the disconnect is somewhere around line:1657 of kleo_lost_password_ajax function in functions.php

    A speedy fix would be greatly appreciated. Thanks!

    #98180
     bkozlowski
    Participant
    COPY CODE
    "message": {
            "html": "Someone requested that the password be reset for the following account:\r\n\r\nhttps://sistershipcircle.com/\r\n\r\nUsername: brenttest\r\n\r\nIf this was a mistake, just ignore this email and nothing will happen.\r\n\r\nTo reset your password, visit the following address:\r\n\r\n<https://sistershipcircle.com/wp-login.php?action=rp&key=8lF35dOkERhaLAbqGTFE&login=brenttest>\r\n",
            "subject": "[Sistership Circle] Password Reset",
    #98187
     bkozlowski
    Participant

    OK – It appears that the link was wrapped in < >. Once removed the link appears correctly in emails.

    This problem revealed another problem though. It appears this function bypasses the normal default WordPress email, preventing the styling to be added from my Mandrill plugin. Is there a way to use the standard email instead of the one contained within this function?

    #98325
     Radu
    Moderator

    Hi,

    Please take a look in wp mandrill plugin settings and look for an field that you can choose html or plain text emails , see this screenshot https://s.w.org/plugins/wpmandrill/screenshot-1.jpg?r=1327650 -> General settings -> Replace all line feeds

    Let me know

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #153736
     lciantas
    Participant

    I have the exactly same problem and can’t disable Replace all line feeds ("\n") by <br/> in the message body because it breaks all WooCommerce e-mails (HTML based).

    Any alternative to fix this issue?

    Thanks in advance,

    Lorena

    #153886
     Radu
    Moderator

    Hi,

    If you de-activate all plugins except woocommerce this will work ? also try to de-activate the child theme when disable plugins

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #154009
     lciantas
    Participant

    Activating that wpmandrill option seems to break any HTML email sent by WordPress.

    We have an active woocommerce store sending daily HTML e-mails, including event tickets (very important).

    #154030
     Radu
    Moderator

    Hi,

    In wpmandrill settings check the marked option in the screenshot

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #154089
     lciantas
    Participant

    It’s already deactivated and because this, password recover link doesn’t appear.

    #154112
     Radu
    Moderator

    Hi,

    WE don’t change the logic of reset password, we use like WordPress does, try to use wp default theme and to reset the pass keeping that plugin active with the same settings to see if the scenario can be reproduced

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?