Easy Automatic Newsletter Lite
[Plugin: Easy Automatic Newsletter] Password Reset Email Issue (13 posts)

  1. philiplawlor
    Posted 3 years ago #

    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: http://www.YYY.com/ 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


  2. philiplawlor
    Posted 3 years ago #


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

    Theme: Atahualpa version 3.7.9


  3. subtleflyfisher
    Posted 2 years ago #

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

  4. windstyles
    Posted 2 years ago #

    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!

  5. Andrew
    Moderator of Puppies
    Posted 2 years ago #

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

  6. windstyles
    Posted 2 years ago #

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

  7. gabrielesque
    Posted 2 years ago #

    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.

  8. philiplawlor
    Posted 2 years ago #

    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.

  9. gabrielesque
    Posted 2 years ago #

    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...

  10. philiplawlor
    Posted 2 years ago #

    Has anyone been able to create a workaround for this?

  11. stormerider
    Posted 2 years ago #

    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: http://codex.wordpress.org/Function_Reference/wp_mail#Examples

    This will cause a number of conflicts (such as this bug: http://core.trac.wordpress.org/ticket/23578) between this plugin and others because this plugin is setting global settings when it should be specific to the plugin instead.

  12. stormerider
    Posted 2 years ago #

    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 -- http://core.trac.wordpress.org/ticket/23578
    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');
  13. philiplawlor
    Posted 2 years ago #

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

    Thanks for investigating this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Automatic Newsletter Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic