Support » Plugin: Easy Automatic Newsletter Lite » [Plugin: Easy Automatic Newsletter] Password Reset Email Issue

  • I have seen a post here on this topic, but it went unanswered (by the user)…

    When this plugin is active password reset emails look like this:
    Someone requested that the password be reset for the following account: Username: YYYUser If this was a mistake, just ignore this email and nothing will happen. To reset your password, visit the following address:
    That is all, the formatting (Carriage returns) is gone and the reset link is missing. Also the “Friendly From” in the email gets replaced with the value used in the EAN plugin.

    WordPress Version 3.4.1
    EAN version 2.6

Viewing 12 replies - 1 through 12 (of 12 total)
  • PillarDev,

    I just loaded EAN version 2.7 and this issue still exists.

    Theme: Atahualpa version 3.7.9


    I’ve got exactly the same problem and no idea of the solution ….

    Does anyone have a fix for this yet?

    We are using WP-Members and I think it is because the plugin is changing the email content type and that is why no link is showing up in the Forgot Password email. However, I do not know how to/where to change this, IF that is indeed the issue.

    Would appreciate any help!! Thanks!

    Moderator Andrew Nevins


    WCLDN 2018 Contributor | Volunteer support

    For help with your own issues, create your own threads.

    Figured if someone answered the above person’s request, it would help us both.

    Yeah, what’s the big deal here? Everytime this issue comes up, somebody else says ME, TOO, only then to have a moderator cry FOUL, roll your own, and then the question never gets resolved. Well, I too, have this problem, and cannot find a solution, and frankly have been looking for months, intermittently.

    I agree, this issue is still open. More activity may get the developer to address it sooner. Also an “Angel” developer could jump in and help out.

    I love open source software and the developers never get enough credit. Typically they also have a tendency to create and abandon. The FOSS (Free Open Source Software) model allows/promotes anyone to contact the developer and volunteer to fix and/or take over a project if the original author(s) priorities have changed.

    In this spirit, I invite the hackers and script kiddies to take a look at the code and figure out what is going wrong. Then tell in detail what was changed so the author can publish the fix.

    Excellent post, philiplawlor. Indeed, I had never heard of the FOSS model, but suspected something like that existed. Now I have a name. For my purposes, I finally took the LOST PASSWORD and RESET off my login form, but among 1300 members, my clientele must eat their passwords for lunch because they seem to need a new one every time they log in…

    Has anyone been able to create a workaround for this?



    The issue is that the plugin does this:

    add_filter('wp_mail_content_type',create_function('', 'return "text/html";'));
    add_filter('wp_mail_from', 'ean_mail_from');
    add_filter('wp_mail_from_name', 'ean_mail_from_name');

    But it never removes those filters when it’s done. The second example shown it the Codex shows how to do this properly:

    This will cause a number of conflicts (such as this bug: between this plugin and others because this plugin is setting global settings when it should be specific to the plugin instead.



    The fix is to change the add_filter code to be like so:

    add_filter('wp_mail_content_type', 'ean_set_content_type');
    add_filter('wp_mail_from', 'ean_mail_from');
    add_filter('wp_mail_from_name', 'ean_mail_from_name');
    function ean_set_content_type()
            return 'text/html';

    And then at the bottom of the file, before the ?>, add the following:

    // reset filters to to avoid conflicts --
    remove_filter('wp_mail_content_type', 'ean_set_content_type');
    remove_filter('wp_mail_from', 'ean_mail_from');
    remove_filter('wp_mail_from_name', 'ean_mail_from_name');



    ok, I will give this a try, I hope it clears the issue.

    Thanks for investigating this!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Easy Automatic Newsletter] Password Reset Email Issue’ is closed to new replies.