Viewing 11 replies - 1 through 11 (of 11 total)
  • Having problem with only admin receiving emails and not users.
    Have tried all fixes for previous version.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I need some more details in order to help you out:

    1. What platform (Unix/Linux/Windows) are you running on?
    2. Are you using the Post/Page notification functionality or sending a User or Group email message?
    3. Are you a new Email-Users user and it has never worked or are you an existing Email-Users user and it was working previously?
    4. Have you changed anything else on your site? Theme? New plugin? Anything?
    5. What have you done so far as far as testing?
    Plugin Author Mike Walsh

    (@mpwalsh8)

    Email-Users v4.5.0 has been released.

    Hi mike.
    The webserver is a lite speed server so running in some form of Unix.
    It fosnt work for either post/page notification or sending users messages.
    I am a new user. Installed beta right away.
    The site has many plugins. Some use the email function but the work perfectly.
    I have made sure that all users can accept bulk email. Checked all spam setting for email accounts. Run test emails to admin.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I just ran a test on my own site using v4.5.0 and it is working as I would expect. We’re dealing with something in your setup that is different. There are a couple of ways to chase this down.

    You can start by disabling all plugins except Email-Users and then see if it works. If it does, them we’re dealing with a plugin conflict of some sort and it is a process of enabling plugins one at a time until you’ve identified which plugin is the problem.

    Your theme could also be causing conflicts although I have not run into a theme being the source of conflict very often.

    The other option is to enable debugging in WordPress and see what ends up in the Error Log. Email-Users will dump the mail header to the Error Log so you can see the raw header that is sent to wp_mail().

    For debugging I use the following in my wp-config.php file:

    define('WP_DEBUG', true); // or false
    if (WP_DEBUG) {
        define('WP_DEBUG_LOG', true);
        ini_set('display_errors', 'on');
        error_reporting(E_STRICT | E_ALL);
        define('SAVEQUERIES', true);
        define('SCRIPT_DEBUG', true);
        error_log('Debug On!') ;
    }

    The above setup will create a “debug.log” file in the /wp-content directory which you can look at or download via FTP to examine.

    Within the Email-Users plugin, check the email-users.php and make sure the make sure the MAILUSERS_DEBUG constant is set to true (on our about line 46).

    Send a test message and take a look at the mail header. If the header contains the email addresses you expect to see then it isn’t the plugin that is the source of your problem, it is elsewhere in your WordPress set up.

    If the mail header doesn’t contain the expected addresses then we have a different problem to chase down.

    Hi Mike,

    I have gone through all above.
    Disable all plugins (except 2 which cannot be disable because the theme depends on them) and still same problem.

    Check in debug log and header contains addresses.

    If the mail is sent to one single user it goes fine… just not to a group. Would the SMTP plugin go around any possible conflicts with other plugins?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If the header contains all of the addresses then there is something in the underlying email system that PHP is using that isn’t working as expected. What you see in the log file is exactly what is passed to wp_mail().

    When mailing to a group or multiple recipients, all of the recipients will be listed on the BCC line of the mail header, only the sender’s email address will appear on the TO line. If you pick a single recipient (either as a notification or as an email) that single user’s email address will appear on the TO line.

    It is definitely worth trying the WP Mail SMTP plugin (that is the one I have personally used in the past) to see if it resolves the problem.

    The strange thing is that I have several other plugins (including 2 I made Myself) which can all email perfectly fine… Except its all to one single user.

    I will try the Mail SMTP plugin and also see if there are any known errors with sending BCC in wp_mail.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    It is entirely possible it is an anti-spam limitation your hosting provider has put in place. If possible, I would check with your hosting provider to see if there are any limitations on PHP’s mail function which is what wp_mail() uses.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There was a bug which in some cases corrupted the BCC header which might have contributed to the problem you reported. Can you try the latest version (4.6.0) and let me know if this is still an issue?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Marking resolved.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Email-Users v4.5.0 beta release’ is closed to new replies.