1
monique
Mail Users Problem
  • 2005/12/8 1:52

  • monique

  • Just popping in

  • Posts: 62

  • Since: 2005/5/23


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);}}

}

Login

Who's Online

333 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 333


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits