• I have just upgraded my WordPress to the latest and installed email users plug-in version 4.3.11.

    I have also set some users to receive notifications and mass emails on but still, I can’t see any email address in my recipients’ list.

    Also, I am getting a blank screen after about 4 to 5 screens (80 to 100 users) setting notifications and mass emails on.

    https://www.ads-software.com/extend/plugins/email-users/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    If you’re ok editing the source files, you can turn on some debug information by editing line 46 of email-users.php. Change “false” to “true” on line 46 so it reads like this:

    define( 'MAILUSERS_DEBUG', true);

    When a call is made to wp_mail(), you will see the mail headers sent to the screen in a readable format. That will show you exactly how the mail headers are formed. If the users you think should be receiving the email don’t appear in the header then their settings aren’t set correctly.

    Thread Starter fleur2011

    (@fleur2011)

    I turned it on already but it did not solve the problem.
    I can’t send an email to any users because no recipients’ email addresses are showing.

    Screenshot here – https://tinyurl.com/9am5am3

    Plugin Author Mike Walsh

    (@mpwalsh8)

    What you are seeing is due to none of your users having the proper settings to receive email notifications. The easiest way to change this is to use the Email Users->User Settings page where you can see all of your users and their current setting for Email and Post/Page Notifications. You can turn them on and off on a per user basis or in bulk.

    Thread Starter fleur2011

    (@fleur2011)

    I did set to “on” all my users to receive emails and notification.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Ok, then we need to figure out why Email Users doesn’t think you have any users who are allowed to receive email. Some questions:

    1. Do you see the same problem with post notifications?
    2. What role do your users have? Subscriber or something else?
    3. Have you tried disabling all other plugins to see if the list is still empty?
    4. What version of the plugin are you running?
    5. Are you using any Role Management plugins?

    Let’s start with these questions and see what we can rule out.

    Hi there. I have the same problem.
    I use “User Role Editor”. Which cap must be on/off?
    My Editor can`t see any mails in the frame “recipients”.

    When the plugin (User Role Editor) is off – everything is good ??

    Thx for help
    garfield

    Plugin Author Mike Walsh

    (@mpwalsh8)

    These are the capabilities that the plugin defines:

    // Capabilities used by the plugin
    define( 'MAILUSERS_EMAIL_SINGLE_USER_CAP', 'email_single_user' );
    define( 'MAILUSERS_EMAIL_MULTIPLE_USERS_CAP', 'email_multiple_users' );
    define( 'MAILUSERS_EMAIL_USER_GROUPS_CAP', 'email_user_groups' );
    define( 'MAILUSERS_NOTIFY_USERS_CAP', 'email_users_notify' );

    This is the code from the actual function that assign the capabilities to the standard WordPress roles.

    function mailusers_add_default_capabilities() {
    	$role = get_role('contributor');
    	$role->add_cap(MAILUSERS_EMAIL_SINGLE_USER_CAP);
    
    	$role = get_role('author');
    	$role->add_cap(MAILUSERS_EMAIL_SINGLE_USER_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_MULTIPLE_USERS_CAP);
    
    	$role = get_role('editor');
    	$role->add_cap(MAILUSERS_NOTIFY_USERS_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_SINGLE_USER_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_MULTIPLE_USERS_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_USER_GROUPS_CAP);
    
    	$role = get_role('administrator');
    	$role->add_cap(MAILUSERS_NOTIFY_USERS_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_SINGLE_USER_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_MULTIPLE_USERS_CAP);
    	$role->add_cap(MAILUSERS_EMAIL_USER_GROUPS_CAP);
    }

    Hope that helps narrow down the problem.

    Hi Mike.
    Thx for your answer!nThese Caps are ON (editor role) but nothing happen.
    The Iframe is still emtpy…

    It`s OK when:
    – User Role Editor plugin is OFF
    – switch user role from editor -> admin

    But I need editor and the User Role Editor Plugin.
    Do you have antoher idea?

    garfield

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I found and fixed a bug which may have been causing your problem, it depends on how you were assigning capabilities. I installed the User Role Editor plugin in my development area and instead of an empty list box, I was getting a permission denied error which was due to a bug.

    Can you try v4.3.14 and see if you are still having the same problem?

    Hi Mike.
    Thx for the update.
    Unfortunately, it still doesn`t work.
    The iframe is empty ??

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I am a bit confused about the iframe since the plugin doesn’t create any. Can you post or send me a screenshot of what you’re seeing? You can email it to me using my WordPress username at gamil dot com.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    In addition to not seeing any users in the “To” list, it appears that your “from” address isn’t populated either unless you put the blue box on it to mask your email address. If you go to the Email Users Settings Page (in Plugins), does it ask you to save your options because your plugin settings are out of date?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    One other question – are you willing to install a debug build if I make it available to you? If you want, we can move this thread to email – ping me at my www.ads-software.com username at gmail. dot com.

    Mike

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Email Users] Recipients not showing’ is closed to new replies.