PDA

View Full Version : Need to be able to limit emails sent per hour


Emil
02-05-2009, 03:59 PM
Hey! I'm going to re-launch an old forum so I would need to send out an email to all users once it's up. But the problem here is that my host won't allow me to send out more than 500 emails per hour and I have over 15,000 users on my forum. They suspend the account right away if there is too much email activity going on.

Is there any way to modify the code so that my vb doesn't send out more than 500 emails per hour when I email all users through the admin cp?

All help is highly appreciated!

Vaupell
02-06-2009, 10:34 PM
Since noone is replying, i will

my first thought is, get another host.
i see your from sweden, denmark myself and here in scandinavia
there are almost a webhost pr street, i mean we have more webhosts than 7-elevens.

Link i recommend when looking for host : Webhostpriser (http://www.webhostpriser.dk/) WARNING ITS DANISH!

im currently using azero, middle price ranged, no limits on trafik, mail or anything
but low mb/sql db upgrades can ofcourse be purchased :p

just remember why buy 2gb if you only need 200mb for 75% effeciency.

Ted S
02-06-2009, 10:54 PM
You could modify every single script that sends emails to check against a volume database but not only is that a ton of work, it's also not a solution as you could potentially have emails queued up forever.

A much better solution is to move to a host that understands you offer a legitimate, mid-sized service that will send out emails to optin users. That your current host can't do this is a sign of an issue with their resources and not your site.

ForumsMods
02-06-2009, 10:59 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=201318" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=201318</a>

Vaupell
02-06-2009, 11:31 PM
https://vborg.vbsupport.ru/showthread.php?t=201318

tx for this.. i might look into this.. sweet mod by paul.
1. The processing of the mail queue is set-up as a vbulletin cron item.

2. Allows you to add a small delay before each e-mail is sent (between 1 and 9 seconds).

3. E-mails from the ACP inteface are sent to the mail queue, not straight to the mail system.