|
I think that
list( $tuserid, $tusername, $tmail ) = get_userinfo( "", $User['userid'] );
will send the email multiple times to the same user instead of one time to each user in the resultset. That is what happend when I tested. So I think it need to be
list( $tuserid, $tusername, $tmail ) = get_userinfo( "", $nuserid );
|