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 01:03
Administrative and Maintenance Tools Cron Based E-Mail Sending Paul M Modification Graveyard 151 03 Jun 2010 04:17
Administrative and Maintenance Tools Cron Based E-Mail Sending Paul M Modification Graveyard 164 27 Sep 2009 15:57
Cron based e-mail queuing and sending Paul M Modification Graveyard 19 23 Oct 2006 01:57

  #151  
Old 30 May 2012, 13:22
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Hi Paul

I tried using this in conjunction with a mod of mine which sends to all users of a specific social group a notification when a new thread is made in a specific forum. This can be well about 4500 e-mails. But when I try to submit a new thread, it gets inserted into the database but the page keeps hanging until it times out. Is it taking so long for the e-mails to be inserted into the queue? Because even after waiting for a while, no e-mails show up in the e-mail queue.

You can find the code I am using here: http://www.vbulletin.org/forum/showt...19#post2334619

Thank you very much
__________________
My free mods~click here
Reply With Quote
  #152  
Old 31 May 2012, 20:05
Sworm Sworm is offline
 
Join Date: Feb 2008
For me this one is better than the one integrated in vb 4.2.0.. With the integrated tool, i have always the queue full. Unuseful tool. I'll reinstall this one on my 4.2.0.

--------------Edit--------------

Not compatible with 4.2.0. Paul please help me.

Last edited by Sworm; 31 May 2012 at 20:14.
Reply With Quote
  #153  
Old 31 May 2012, 21:21
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by Sworm View Post
For me this one is better than the one integrated in vb 4.2.0.
They are the same.


Originally Posted by Sworm View Post
Not compatible with 4.2.0. Paul please help me.
It isnt required for 4.2.
__________________
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
  #154  
Old 13 Aug 2012, 17:56
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Does It work without manually file edit on 4.1.10 ?
Reply With Quote
  #155  
Old 06 Sep 2012, 12:36
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
I was using this mod until updating to 4.2.0 last week. I have not received a new registration email since then. I'm not sure if it's related or not but I don't even know where to begin troubleshooting. Users are getting the activation email but I stopped getting emails of new registrations or emails from forums where I asked to be notified of new posts and threads. Can anyone point me in the right direction to begin troubleshooting?
__________________
http://www.iphonemodding.com
Reply With Quote
  #156  
Old 07 Sep 2012, 13:17
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Have you viewed the mail queue ?
__________________
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
  #157  
Old 21 Sep 2012, 10:43
hamdanikcung hamdanikcung is offline
 
Join Date: May 2012
i wannt to ask the queue in my bulletin stil 2000 queue, i set the packet send 15 email and no delay time .. but only send a few and 1 hour still queue what happen ??
Reply With Quote
  #158  
Old 15 Oct 2012, 20:46
Farsisat Farsisat is offline
 
Join Date: Sep 2007
please update for 4.2
Reply With Quote
  #159  
Old 16 Oct 2012, 00:43
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Did you read the main post ??

This modification is not required for vBulletin 4.2.x Onwards.
__________________
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
  #160  
Old 28 Jan 2013, 15:23
sat2006 sat2006 is offline
 
Join Date: Mar 2009
4.2

please update for 4.2
Reply With Quote
  #161  
Old 28 Jan 2013, 15:37
Hostboard's Avatar
Hostboard Hostboard is online now
 
Join Date: May 2002
Real name: Steven
Originally Posted by sat2006 View Post
please update for 4.2
Reading the modification description might help

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.
Reply With Quote
  #162  
Old 10 Feb 2013, 09:43
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Real name: Andi
But why? Is there a option in vb4.2 what makes this plugin sinless?

Because i need a plugin to send only x mails/hour.
Reply With Quote
  #163  
Old 10 Feb 2013, 13:27
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by Kraxell View Post
But why?
Because its part of the core code in 4.2
__________________
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
  #164  
Old 11 Feb 2013, 11:21
sat2006 sat2006 is offline
 
Join Date: Mar 2009
I sent an e-mail every minute
What should I do? For version 4.2.0

i need this plugin for v4.2.0 what dont you update this plugin????
Reply With Quote
  #165  
Old 11 Feb 2013, 12:31
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Why dont you try reading the post above yours.
__________________
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
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 01:53.

Layout Options | Width: Wide Color: