Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

in /admin/mailing why setting "Maximum mailing rate:" to less than 10 won't send any email at all?

+2 votes
244 views
asked May 6, 2014 in Q2A Core by Waterfr Villa
edited May 6, 2014 by Waterfr Villa

Due to limitations in my server I can maximum send only 8 emails per minutes. However, if I set the "Maximum mailing  rate:" to a value less than 10 it won't send any email at all? (it just freezes there with message Mailing completed for 0 of n users)  What can I do? Please help

If I set it back to a value 10 or more it works but not less than 10 that I need!!!

in /admin/mailing:

 

Q2A version: 1.6.3

1 Answer

+1 vote
answered May 7, 2014 by Waterfr Villa

Ok got the answer

in the file qa-include/qa-app-maling.php there is a line which reads

$lasttime=max($lasttime, $thistime-6); // ... don't do more than 6 seconds' worth

which means it doesn not wait more than 6 sec interval ( 10 emails per minute)

change 6 to a higher number, say 10!

$lasttime=max($lasttime, $thistime-10); // ... don't do more than 6 seconds' worth

 

...