![]() |
|
|
Mod Options |
Cron based e-mail sending Details »»
|
|||||||||||
|
Cron based e-mail sending
Developer Last Online: May 2013
For vBulletin 4.1.0 Only
Versions Attached 4107: vBulletin 4.1.0 to 4.1.12 This modification is not available for vBulletin 4.0.x This modification is not required for vBulletin 4.2.x Onwards. Please remember to click Mark as Installed if you use this modification. Please fee free to nominate this modification for the MOTM, and/or use the donate link provided (Support Developer). 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 helps in three ways ; 1. The processing of the mail queue is set-up as a vbulletin cron item. 2. You can add a small delay before each e-mail is sent (0,1,2 or 5 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 use e-mail queuing (ACP Options - Use Mailqueue System = Yes) and also the 'Number of Emails to Send Per Batch' needs to be a realistic value (see below). The installation process will attempt to set these options for you. This modification also requires two file edits to work correctly. 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 80, which is the default). Remember, 10 e-mails per minute = 600 per hour while 80 e-mails every 10 minutes is 480 per hour. The numbers you set really depend on how quick you want large queues processed, and how much your mail server can handle in one go. The default settings are fine for most people. Once working, when using the ACP mail users inteface, remember you can set it to process 9999 at once (not 500) as the mails will now go into the queue, not be sent directly. Note: This modification will only affect queued e-mails such as subscription e-mails. It will not affect registration e-mails as they always bypass queuing. This modification also displays the size of the e-mail queue in the ACP homepage, based on code supplied by Antivirus. To install, download and uzip the files, then follow the instructions in the text file. Support Limited support will be provided for vBulletin 4.1.8 - 4.1.12 (No bug fixes). Support will not be provided for Alpha & Beta versions, or anything prior to vBulletin 4.1.8. Low priority will be given to posters who do not have this marked as installed In some cases, support can only be provided if I have an admin login and ftp access. History: v4.0.1 : 30-Dec-2009 : Initial release for vb 4.0.0 Gold. v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1. v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: FinalFantasy
|
|||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Cron based e-mail sending | Paul M | vBulletin 3.8 Add-ons | 303 | 29 Mar 2013 01:51 |
| Cron Based E-Mail Sending | Paul M | vBulletin 3.7 Add-ons | 151 | 03 Jun 2010 03:17 |
| Cron Based E-Mail Sending | Paul M | vBulletin 3.6 Add-ons | 164 | 27 Sep 2009 14:57 |
| Cron based e-mail queuing and sending | Paul M | vBulletin 3.5 Add-ons | 19 | 23 Oct 2006 00:57 |
| Comments |
|
#2
|
|||
|
|||
|
thank you
No members have liked this post.
|
|
#3
|
|||
|
|||
|
thanx paul, have had this trouble with my host providers and my limit for one hour is 500 emails. i didnt knnow what to do, but this will help.
thanx
__________________
Family Bunker No members have liked this post.
|
|
#4
|
||||
|
||||
|
No members have liked this post.
Last edited by Dr.osamA : 04 Apr 2011 at 00:41. |
|
#5
|
||||
|
||||
|
very useful
thanks : )
__________________
Ali Madkour
No members have liked this post.
|
|
#6
|
|||
|
|||
|
Might want to fix your title
No members have liked this post.
|
|
#7
|
||||
|
||||
|
yeah I could use some Cron ased e-mail sending
![]() Back when I did use this, I noticed it helped with the server load, however since I get around 1000 registrations a day and have almost half a million members it was just delaying the sending of the critical emails too much.
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
|
#8
|
|||
|
|||
|
hey paul i want to use this mod so bad but when i input your code in functions.php i get a syntax error can you please show me how to place the code in the functions.php do i leave out the trailing slashes im confused thank you in advance.
__________________
my forums http://www.autodatafix.com/content.php http://www.hitechtronix.net/forum.php No members have liked this post.
|
|
#9
|
||||
|
||||
|
Ooops, fixed.
This has no effect on registration e-mails etc as they bypass the queue system in vb anyway.
__________________
Cable Forum - DigiGuide Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any. No members have liked this post.
|
|
#10
|
|||
|
|||
|
thanks
No members have liked this post.
|
|
#11
|
||||
|
||||
|
Glad this one was updated!
__________________
Xbox 360 Mods No members have liked this post.
|
|
#12
|
||||
|
||||
|
awesome
I have vb3.7 but expected to fing the suitable version in related mods and that what happened thanks a lot
__________________
My vbulletin website : http://www.nmisr.com/ No members have liked this post.
|
|
#13
|
|||
|
|||
|
WHY isn't this a part of the vBulletin package? I can't run my site without this mod.
Really appreciate your mod Paul. No members have liked this post.
|
|
#14
|
||||
|
||||
|
Installed and i couldnt find in admin cp
ACP Options - Use Mailqueue System where its is? No members have liked this post.
|
|
#15
|
||||
|
||||
|
ACP > Options > Email Options.
__________________
Cable Forum - DigiGuide Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 00:56.







