The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cron based e-mail sending Details »» | |||||||||||||||||||||||||
As of 24 Nov 2017 this modification has been withdrawn.
In default vBulletin, if you send a large number of e-mails, vbulletin either puts them in it's queue and attempts to send them as each user visits a page, or just simply tries to send them straight away (as is the case when you use the Administrators email users inteface). The result of this can be that your server can gets seriously overloaded very quickly - or on many hosts, you get banned for exceeding their e-mail sending limits. This can make sending several thousand e-mails (like a newsletter) very difficult. This modification does two things ; 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. Use option 2 carefully, otherwise you will slow your e-mail system right down. For this to work, you must turn on e-mail queuing in the ACP options - set 'Use Mailqueue System' to 'Yes', and 'Number of Emails to Send Per Batch' to a realistic value (based on the cron setting, as below). There are two options for the cron job, you can either set it to run every minute, and set the items to be processed to something small (like 10), or you can do what this modification does by default and set it to run every 10 minutes, and set the items to be processed to something larger (like 100). Remember, 10 per minute = 600 per hour, 100 per 10 minutes is also 600 per hour. The numbers really depend on how quick you want large queues processed, and how much your mail server can handle in one go. Once working, when using the ACP mail users inteface, remember you can set it to process 9999 at once (not 500 or whatever) as the mails will now go into the queue, not be sent directly. Note: This modification will affect any queued e-mails such as subscription e-mails. It will not affect registration e-mails as they bypass queuing anyway. This modification includes the code by Antivirus that displays the current size of the mail queue. History: v3.8.001 : First Release for vB 3.8. Show Your Support
|
4 благодарности(ей) от: | ||
ahmedeldeep, need2fart, rpgamersnet, xorex |
Comments |
#122
|
|||
|
|||
No, don't work, the email remain in the mail queue, the're'sany adjustment for work with vb4?
|
#123
|
||||
|
||||
If i want to send upto 1000 email per hour, then what to do?
If i send emails to all my users via admincp, they will be queued too or not? Thanks. |
#124
|
||||
|
||||
Read the information provided.
|
#125
|
||||
|
||||
I've read. Thanks.
I wanted to ask how many emails will be sent hourly? in admincp it's given to set per batch? and will it delay sending emails if there are not more than allowed emails in an hour or send as before i installed this mod? Thanks for gr8 mod. |
#126
|
||||
|
||||
one mroe question:
I've just send announcement via email to all my users [37,000+] using 200 per batch. i want to know how can i know if and when all users have been emaied? Thanks. |
#127
|
||||
|
||||
Again, read the main post.
Quote:
|
#128
|
|||
|
|||
what is the use of this mod???
|
#129
|
||||
|
||||
sorry but i didnt get my answer. I've read thread twice.
I've 2 queries only. 1. After i send email from admincp, how can i know if all emails have been sent and when email to all users have been sent? 2. i've sent 200 per batch, it means 1200 per hour isnt it? just asking to confirm. and 1200 per hour will be sent instantly and continously if i've set 0 in delay? Thanks and sorry for inconvenience. |
#130
|
||||
|
||||
It appears to be working perfectly! thank you sir!
I guess I will know for sure in a few if I get some hate mail from Lunarpages forever banning me from using email. haha. |
#131
|
||||
|
||||
to add.. it took me a bit to figure out that the default was set to send the batches every 10 minutes.. and to just goo off of that.. every ten minutes send 50 messages = 300 emails per hour 60 messages in a batch every 10 minutes = 360 emails per hour etc.
very cool feature. thx again. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|