Support » Plugin: Email Users » [Plugin: Email Users] Questions about Capabilities before I attempt to Install

  • What is the difference between “registered blog users” (per the descriptive highlights about your plugin) and general users? I have a WP/BuddyPress site running and I need to reach all members of my BuddyPress site, which end up being all users in my WP install.

    Secondly, as Admin I am the only one that I want to be given the ability to email everyone. Is there a way to prevent users/members from sending broadcast emails?

    Thank you for the answers to these questions. It will help me determine if I can use your plugin.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Searching answers to the same 🙂

    Plugin Author Mike Walsh


    This is the default set up capabilities as they appear in the plugin code:

    function mailusers_add_default_capabilities() {
    	$role = get_role('contributor');
    	$role = get_role('author');
    	$role = get_role('editor');
    	$role = get_role('administrator');

    There are four capabilities that the plugin defines, you can see them above. You could use a plugin such as Role Manager or Advanced Access Manager to remove the ability to use these capabilities from certain roles if desired.

    Thanks @MikeWalsh.

    Can you answer this for me please?

    What is the difference between “registered blog users” (per the descriptive highlights about your plugin) and general users? I have a WP/BuddyPress site running and I need to reach all members of my BuddyPress site, which end up being all users in my WP install.

    Plugin Author Mike Walsh


    For the Email Users plugin, a registered blog user is equivalent to the list of users you see when choosing the Users menu on the WordPress Dashboard. I don’t know if BuddyPress uses the standard WordPress Users model or if it creates another one – if it uses the standard WordPress Users then it should work for you.

    Excellent. Thanks @MikeWalsh. I’ll install and test. Then I’ll post back here for @jknn and anyone else interested in using your plug-in.

    Excellent plug-in @MikeWalsh. One question:

    What is the significance of setting all the “Email Users Settings” on the WordPress Settings > Email Users page?

    I tweaked things like “Sort Users By” and “Default Notification Subject” and “Default Notification Body”? And what is “User Settings Table Rows” used for?

    I went to Email Users > Send to User(s) and selected everyone in the textarea box and drafted and sent a broadcast message.

    It worked fine and all 200+ messages were delivered. Except none of the settings that I tweaked above seemed to come into play.

    Can you explain?

    Thanks. Awesome plug-in — does exactly what I need it to do.

    Plugin Author Mike Walsh


    The “Email Users -> User Settings” page will let you control on a user by user basis which users can receive post notifications and bulk email. Since you just installed the plugin, the activation process will set every user to the default state but if you want to change all users or a large number of them, this is the way you’d do it. Each user also has the ability to change their settings on their own profile page.

    The table row settings lets you specify how many users are shown on each page when showing the User Settings. If you have a large number of users, it can be helpful to look at a lot of them at once.

    Ok, thanks @MikeWalsh — I saw those settings, but I am talking about a different set of settings:

    WordPress Settings > Email Users page

    “Email Users Settings” Page

    • Sort Users By
    • Default Notification Subject
    • Default Notification Body
    • User Settings Table Rows
    Plugin Author Mike Walsh


    1. Sort Users By: How should the users be sorted when presented. By default it sorts by username but you can sort by first, last, or other combinations. I usually sort by last name and show the username in parentheses.
    2. Default Notification Subject: Default subject for Post Notifications. You can notify users of a new post on your blog using the Notify meta box on the post edit page.
    3. Default Notification Body: Default email content for post notifcations emails.
    4. User Settings Table Rows: Number of users to show per page on the User Settings page.

    Hope this helps.

    Oh, got it. Thanks @MikeWalsh.


    I have another question. Where do you pull the “from” email address from? When I send messages to users I am getting a foreign email address (ie., one that is not setup anywhere in any of my WordPress, BuddyPress, or Email Users settings.

    It is causing many messages to land in junk & spam folders.


    Plugin Author Mike Walsh


    By default it uses the email address for the WordPress user who is sending the email or notification. There is a setting which you can use to override the email address the plugin picks up from the user sending email, it is called “From Sender Email Address Override”.

    That is so strange @MikeWalsh.

    The email address of the user sending is no where to be seen or found. The address on the From: line is “noreply@<some arbitrary reference to my server name>

    • It is not the email address of the logged-in and sending user — which is “admin”
    • It is not the WP Network Admin Site Network Settings > Operational Settings > Network Admin Email
    • It is not the BuddyPress Site Setting > Email Users Settings > From Sender Email Address Override (this address ends up being the Reply-To: address)

    It has me stumped, and has messages landing in our user’s junk/spam folders…

    Also @MikeWalsh, I just physically scanned every MySQL Table in my WP/BP install and I found no instance of that phantom email address being stored in the tables.

    I scanned ./wp-config.php and there is no email address stored tin the config file.

    But here is something interesting — it is the same email address being sent From: by “Friendship Requests” and “Document Upload Notices” and “Group “Comments Notices” and “New Message Notices” and Group “Membership Request Notices”.

    Does that help in any way?

    Plugin Author Mike Walsh


    It sounds like something in your mail system is modifying the header. If you want to see what the header looks like that Email Users constructs, you can enable debugging by editing the plugin file email-users.php and changing the following line (on our about line 46):

    Normal operation:

    define( 'MAILUSERS_DEBUG', false);

    Debug Mode:

    define( 'MAILUSERS_DEBUG', true);

    You will see quite a bit of extra information on the Dashboard when sending email with Debug enabled.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Plugin: Email Users] Questions about Capabilities before I attempt to Install’ is closed to new replies.