Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cron based e-mail sending Details »
Cron based e-mail sending
Mod Version: 4.1.7.0, by Paul M (Member) Paul M is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.1.x Rating: (24 votes - 4.96 average) Installs: 190
Released: 30 Dec 2009 Last Update: 24 May 2012 Downloads: 1040
Not Supported Uses Plugins Code Changes Additional Files Translations  


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

The feature is already built into the core vBulletin 4.2.x code.
--------------------------------------------------------------------------------


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.


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

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Cron based e-mail sending Paul M Modification Graveyard 305 06 Apr 2015 00:03
Administrative and Maintenance Tools Cron Based E-Mail Sending Paul M Modification Graveyard 151 03 Jun 2010 03:17
Administrative and Maintenance Tools Cron Based E-Mail Sending Paul M Modification Graveyard 164 27 Sep 2009 14:57
Cron based e-mail queuing and sending Paul M Modification Graveyard 19 23 Oct 2006 00:57

  #46  
Old 05 Apr 2010, 17:05
demojames demojames is offline
 
Join Date: Sep 2005
Real name: James (Duh!)
I couldn't survive without this mod. Thanks for the great work Paul!

Also you may want to change your text in the details, Remember, 10 e-mails per minute = 600 per hour

Should be 100 e-mails per minute = 600 per hour.

Thanks again!
__________________
Successful Forum - Tips for your forum!
Demolition Forum
Reply With Quote
  #47  
Old 05 Apr 2010, 22:48
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by demojames View Post
Also you may want to change your text in the details, Remember, 10 e-mails per minute = 600 per hour

Should be 100 e-mails per minute = 600 per hour.
Um, no.

There are only 60 minutes in an hour, so 10 per minute x 60 mins = 600 per hour.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #48  
Old 06 Apr 2010, 04:15
demojames demojames is offline
 
Join Date: Sep 2005
Real name: James (Duh!)
Your right! I had to re-read, I was reading it too fast and I was reading the 80 as per minute, no every 10 minutes.
__________________
Successful Forum - Tips for your forum!
Demolition Forum
Reply With Quote
  #49  
Old 13 Apr 2010, 01:14
360themes 360themes is offline
 
Join Date: Feb 2007
it is not working with 4.0.2 anymore
Reply With Quote
  #50  
Old 13 Apr 2010, 14:20
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by 360themes View Post
it is not working with 4.0.2 anymore
Then something has changed on your site - code cannot just stop working
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #51  
Old 15 Apr 2010, 08:46
mmikel_atef's Avatar
mmikel_atef mmikel_atef is offline
 
Join Date: Apr 2010
thanks so much
Reply With Quote
  #52  
Old 18 Apr 2010, 21:22
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
4.0.3?
__________________
http://www.iphonemodding.com
Reply With Quote
  #53  
Old 19 Apr 2010, 12:12
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
What about 4.0.3 ?
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #54  
Old 25 Apr 2010, 05:28
halkum halkum is offline
 
Join Date: Feb 2006
Hello Paul,

Error: Nevermind my error. Downloads weren't completeing so the zip was mis-finished.

Mod nominated
Love it.

Thanks

Last edited by halkum; 25 Apr 2010 at 06:07.
Reply With Quote
  #55  
Old 28 Apr 2010, 14:13
cloferba cloferba is offline
 
Join Date: Apr 2009
Paul, vb_mailqueue on my forum has a size of 6.44 GB!!

why so big? is any way to clean it and decrease the size?

thank you very much =)
Reply With Quote
  #56  
Old 28 Apr 2010, 19:25
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
I have no idea why your table is so big.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #57  
Old 05 May 2010, 00:27
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Thanks, this is a must have mod for any vbulletin 4.x board
Reply With Quote
  #58  
Old 08 May 2010, 08:15
doubleclick doubleclick is offline
 
Join Date: Jul 2004
A couple of questions.

Do you know if this mod will run on 3.7?

This will use the smtp mail if that is what I am currently using?

Thanks
Reply With Quote
  #59  
Old 08 May 2010, 12:26
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
For vb 3.7, use the 3.7 release of the mod.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #60  
Old 10 May 2010, 05:03
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
installed, thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:03.

Layout Options | Width: Wide Color: