1
haryadoon
Too many users ? Email doesn't seem to work.
  • 2004/10/23 2:47

  • haryadoon

  • Just popping in

  • Posts: 10

  • Since: 2004/7/29


Xoops 2.0.7.3 -- emails have stopped working correctly !

I now have 365 users, and XOOPS Email Users no longer works. When I try to send an email to all Registered users, I just get a blank page and no emails are sent.

2
smdcom
Re: Too many users ? Email doesn't seem to work.

Quote:

haryadoon wrote:
Xoops 2.0.7.3 -- emails have stopped working correctly !

I now have 365 users, and XOOPS Email Users no longer works. When I try to send an email to all Registered users, I just get a blank page and no emails are sent.


go to system admin -> preferences -> mail setup

try to change Mail delivery method to one that your server support.. or just use SMTP


3
ackbarr
Re: Too many users ? Email doesn't seem to work.

This is a known problem in XOOPS 2.0.x as the user information size + rest of application exceeds the memory limits for PHP (default size 8MB). I would recommend trying one of the modules dedicated to mailing users:

xMail seems to work well.
Evennews will also serve well.

4
haryadoon
Re:Too many users ? Email doesn't seem to work.
  • 2004/10/24 9:56

  • haryadoon

  • Just popping in

  • Posts: 10

  • Since: 2004/7/29


Thanks. I have split the group into four (A - D, E - L, etc) and that works fine.

5
Mithrandir
Re:Too many users ? Email doesn't seem to work.

Another thing worth trying is this:

$members =& $member_handler->getUsersByGroup($groupidfalse);
$user_list array_merge($members$user_list);


around line 66 in modules/system/admin/mailusers/mailusers.php

instead of the old
$members =& $member_handler->getUsersByGroup($groupidtrue);
// RMV: changed this because makes more sense to me
// if options all grouped by 'AND', not 'OR'
foreach ($members as $member) {
    if (!
in_array($member->getVar('uid'), $user_list)) {
        
$user_list[] = $member->getVar('uid');
    }
}


I haven't tested this, yet, but it should reduce the resource-intensivity when fetching users

Login

Who's Online

182 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

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

Latest GitHub Commits