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.