Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Is there a Group Email Limit? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Peter
Newbie
Newbie


Joined: 07 November 2013
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 14 November 2013 at 8:09am | IP Logged Quote Peter

When I click on "Email to this group", it seems as if only the first 99 entries from the group are included, rather than the full 160.

This is confirmed when I check the MySQL log which shows the query ending in "LIMIT 0, 99".

Is there a built in limit at play here and can it be changed?
Back to Top View Peter's Profile Search for other posts by Peter
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 15 November 2013 at 4:36am | IP Logged Quote Igor

Fetching the entire list of group members is a very resource-consuming operation. For optimization reasons, WebMail fetches first 100 records. You can change that in libraries/ProjectSeven/ActionsBase.php around like 666:

Code:
$aContacts = $this->ApiContacts()->GetContactItems(
     $mResponse->IdUser, \EContactSortField::Name, \ESortOrder::ASC, 0, 99, '', '', $mResponse->IdGroup);


--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Peter
Newbie
Newbie


Joined: 07 November 2013
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 16 November 2013 at 5:34am | IP Logged Quote Peter

Thanks for that.

As a future enhancement, could this limit be displayed next to the "Email to this group" button, with the ability to override it?

Its just that, if I hadn't copied the list out to temporarily remove one person from the list, only to find they weren't there, I would have assumed that I had emailed everybody rather than just the first two thirds.

Back to Top View Peter's Profile Search for other posts by Peter
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 November 2013 at 11:14pm | IP Logged Quote Igor

I've forwarded the suggestion to the product team. For now, we're increasing the limit to 300 which should be more than enough for the majority of use cases.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide