// --
    if (!empty($send_users)) {
        $users_from_ids = mailusers_get_recipients_from_ids($send_users, $exclude_id, MAILUSERS_ACCEPT_NOTIFICATION_USER_META);
    } else {
        $users_from_ids = array();
    }
    $recipients = array_merge($users_from_roles_and_filters, $users_from_ids);
    if (empty($recipients)) {
        ?>
			<p><strong><?php 
        _e('No recipients were found.', MAILUSERS_I18N_DOMAIN);
        ?>
</strong></p>
	<?php 
    } else {
        $useheader = mailusers_get_header_usage() != 'email';
        $usefooter = mailusers_get_footer_usage() != 'email';
        $num_sent = mailusers_send_mail($recipients, $subject, $mail_content, $mail_format, $from_name, $from_address, $useheader, $usefooter);
        ?>
			<div class="updated fade">
				<p><?php 
        echo sprintf(__("Notification sent to %s user(s).", MAILUSERS_I18N_DOMAIN), $num_sent);
        ?>
</p>
			</div>
	<?php 
        include 'email_users_notify_form.php';
    }
    ?>
	</div>
	
}
?>

<div class="wrap">
<?php 
// Fetch users
// --
$recipients = mailusers_get_recipients_from_ids(array($user_ID));
if (empty($recipients)) {
    ?>
		<p><strong><?php 
    _e('No recipients were found.', MAILUSERS_I18N_DOMAIN);
    ?>
</strong></p>
<?php 
} else {
    $useheader = mailusers_get_header_usage() != 'notification';
    $usefooter = mailusers_get_footer_usage() != 'notification';
    mailusers_send_mail($recipients, $subject, $mail_content, $mail_format, $from_name, $from_address, $useheader, $usefooter);
    ?>
		<div class="updated fade">
			<p><?php 
    echo sprintf(__("Test email sent to %s.", MAILUSERS_I18N_DOMAIN), $from_address);
    ?>
</p>
		</div>		
<?php 
}
?>
</div>
?>
><?php 
_e('User and Group Email Only', MAILUSERS_I18N_DOMAIN);
?>
</option>
				<option value="both" <?php 
if (mailusers_get_header_usage() == 'both') {
    echo 'selected="true"';
}
?>
><?php 
_e('User, Group and Notification Email', MAILUSERS_I18N_DOMAIN);
?>
</option>
				<option value="none" <?php 
if (mailusers_get_header_usage() == 'none') {
    echo 'selected="true"';
}
?>
><?php 
_e('Not Used', MAILUSERS_I18N_DOMAIN);
?>
</option>
			</select><br/><i><small><?php 
_e('Add Email Header Text', MAILUSERS_I18N_DOMAIN);
?>
</small></i></td>
	</tr>
	<tr>
		<th scope="row" valign="top">
            <label for="mailusers_header"><?php