View Full Version : Send max x emails in 1 hour
Kraxell
02-10-2013, 08:33 AM
Hello,
my webspace allow only 200 mails/Hour. I have a community with 22.000 users. So i cant send the newsletter because hosting-techs can find the big queue on the mail server and send suspend my account. (i want to send a newsletter at all users)
I have seen a plugin, where i can send x emails in one hour but i dont find it anymore.
Anyone know this plugin and can help me?
Regards
If you have vb4.2.0 you can do that with the Settings under Email Options. You need to set both "Use Mailqueue System" and "Use Cron Based Sending" to Yes, then you can set "Number of Emails to Send Per Batch" to control how many are sent per hour. Since the "Process E-Mail Queue" scheduled task is set to run every 10 minutes (6 times per hour), you'd set the Per Batch size to 1/6 of what you want to send out per hour.
But this isn't perfect - some emails like registration email verification (if you have that turned on) bypass the queue. Also the scheduled tasks depend on site traffic, so if you have a site that's not active for parts of the day, mail won't get sent out. (But any solution you come up with will have the same problem unless it somehow uses the operating system cron jobs).
Kraxell
02-10-2013, 03:31 PM
Thanks for this info.
Where can i set the "Per Batch size"?
Where can i set the "Per Batch size"?
It's called "Number of Emails to Send Per Batch" and it should be under Email Options. I should mention that it's the same number that's used if you set "Use Cron Based Sending" to No, but in that case (I believe) it's the number that is sent every time a user requests a page, so you would obviously want a much smaller value in that case.
Kraxell
02-10-2013, 03:41 PM
I have the german version :)
How should i set the options?
https://vborg.vbsupport.ru/external/2013/02/20.jpg
I think you have everything set correctly, but you want to set "E-Mails pro Charge" to about 1/6 of your maximum per hour (or maybe a little less if it's a strict limit, to allow for the non-queued emails).
Kraxell
02-10-2013, 03:55 PM
Ok, i have set it to 30 (30x6 times = 180) so i have 20 mails for any other things :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.