• I just added WP Mandrill and am getting the password reset email, however the link that goes with it doesn’t appear.

    Here’s the content:
    “Someone requested that the password be reset for the following account: https://growinggreat.org/ Username: PaldinTest If this was a mistake, just ignore this email and nothing will happen. To reset your password, visit the following address:”
    The link should appear after “address:” but doesn’t.

    Any idea why? Anyone had this issue before?

    Thanks.

    https://www.ads-software.com/plugins/wpmandrill/

Viewing 5 replies - 1 through 5 (of 5 total)
  • I clicked/checked the option:

    Replace all line feeds (“\n”) by
    in the message body?

    about an hour ago bc/ I had the same issue. That fixes it and also the default wordpress emails are formatted correctly now, instead of being a huge block of text.

    Thread Starter paleihe

    (@paleihe)

    Well that worked. Thank you so much!

    One thing I did notice (once you check the
    solution in ManDrill) is that my email notifications (which were formatted in html templates) coming from Formidable pro were getting *garbled* as in it was a bunch of css and html instead of a clean, name:, email:, comments: notification that someone filled out a form on my site.

    I saw that you can have the notification email from Formidable sent in plain text and it works fine now. So if you have any plugins with the same issue see if you can set them to plain text!

    But basically the solution is

    // Fix Mandrill Issue whereas Mandrill Removes reset email link for forgootten password emails
    function forgotMyPasswordEmails($nl2br, $message) {
        if ( in_array( 'wp_retrieve_password', $message['tags']['automatic'] ) ) {
            $nl2br = true;
        }
        return $nl2br;
    }
    add_filter( 'mandrill_nl2br', 'forgotMyPasswordEmails', 10, 2 );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Password Reset Email Doesn't Have Link’ is closed to new replies.