1
I think this is a bug. I have almost 500 registered users. I also have several users in other groups (Staff, Webmasters). When I use Mail Users, I can pm the other groups, but I can't mail my large group (registered users). It just hangs with no error message.
Can anyone verify this problem? Also, can anyone help me fix it? I would appreciate it very much! Thanks --
Monique.
I think I traced it to this line in class\XoopsMailer.php :
function setToGroups($group)
{
if ( !is_array($group) ) {
if ( strtolower(get_class($group))== "xoopsgroup" ) { $member_handler =& xoops_gethandler('member');
// THE FOLLOWING LINE IS THE PROBLEM.
// I BELIEVE IT IS THE getUsersByGroup FUNCTION
$this->setToUsers($member_handler->getUsersByGroup($group->getVar('groupid'), true));
}
} else {foreach ($group as $g) {$this->setToGroups($g);}}
}