Recipients are collected using WordPress database queries. If you are getting undesired users than the query is returning more users than you expect for some reason.
I would start by enabling debug mode as it will let you see the headers (which includes all of the recipients) without actually sending the email to your users.
I would then backtrack from there to see what it is with the unexpected users that they get returned with the query. I haven’t looked at the User Access Manager integration in a long time so if something changed with UAM, I wouldn’t know about it unless someone brought it to my attention as I don’t personally use UAM.
Marking resolved due to no activity.
cannot activate the plugin… I get this message
Plugin could not be activated because it triggered a fatal error.
Is this a new issue or related to the problem which originated the thread?
You also need to provide more context than the plugin can’t be activated. Since Email Users is widely used, I would suspect a plugin conflict so you’ll need to isolate which other plugin is causing the problem.
Start by disabling all plugins disabled and make sure Email Users activates correctly, I would suspect it will.
sorry, this was a new issue and I realized after I posted.
I thought maybe it was an issue with the wordpress update 4.2.1
I will try your suggestion with disabling plugins.
Thank you and I appreciate the quick response!
I disabled all plugins and tried to activate email users.
this time got this message…
Plugin could not be activated because it triggered a fatal error.
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/thegym/public_html/CombativeSports/wp-includes/meta.php on line 818
I am not a computer guy so this is greek to me
How many users does your site have? The only thing I can think of if you have a very large number of users, something is happening during the initialization of the users default settings to receive email and notifications.
yes we have a lot of users. about 4000
I backed up my email database and then deleted all but about 300 and then it worked.
Is there a limit of users? can I fix it to allow more? or can I split them up somehow?
thanks in advance
4000 is a lot but I wouldn’t have expected it to be a big deal. I’ll have to go look at the activation code to see if there is something unusual there.
Sorry for the delayed response. I was on the road for work this week with little opportunity to look at this. This morning it occurred to me I had solved a similar problem sending emails to a large number of users a while back.
Looking at the activation code I realized the way the users were being queried to set their default state was retrieving the entire user record when all that was needed was the ID. I have changed the query and tested it in my development area which has ~1300 users, not as many as you have but this amount was enough to make the prior out of memory problem evident.
Can you try the 4.7.3 beta version I posted on my web site this morning?
Excellent. Thank you Mike!