Menu

#189 Mail all users bug

open
nobody
None
5
2012-09-25
2006-01-03
Anonymous
No

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

}

Discussion

  • Nobody/Anonymous

    Logged In: NO

    XOOPs version 2.2.3 *

     
  • anderssk

    anderssk - 2009-04-20

    Could be the hosting company, there have some limit. But XOOPS core is not, at the moment, made for mass-email. Mass sending should be made trough a newsletter module.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.