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: 3.8.001, by Paul M (Dr Pepper Addict) Paul M is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (37 votes - 4.62 average) Installs: 291
Released: 10 Jan 2009 Last Update: Never Downloads: 1618
Supported Uses Plugins Code Changes Additional Files Translations  

vBulletin 3.8 Version
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • 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
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

  #151  
Old 22 Dec 2009, 14:30
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
You can manually run the cron in your acp as many times as you want.
__________________


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.
Reply With Quote
  #152  
Old 25 Dec 2009, 15:36
TurkeySub TurkeySub is offline
 
Join Date: Jul 2009
Very awesome!

Works like a charm!
Reply With Quote
  #153  
Old 25 Dec 2009, 16:37
Griffoneur Griffoneur is offline
 
Join Date: Nov 2007
Will you be supporting v4.0?

I rely on your program for emailing users as I am limited to 400 emails per hour.
Reply With Quote
  #154  
Old 25 Dec 2009, 20:51
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Originally Posted by Griffoneur View Post
Will you be supporting v4.0?
Yes.
__________________


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.
Reply With Quote
  #155  
Old 26 Dec 2009, 14:32
Griffoneur Griffoneur is offline
 
Join Date: Nov 2007
Originally Posted by Paul M View Post
Yes.
That is great. E-mails are a BIG issue with many forums. Your plugin is probably one of the most used on my site.

Looking forward to its release.

Norman
Reply With Quote
  #156  
Old 28 Dec 2009, 10:26
the stig's Avatar
the stig the stig is offline
 
Join Date: Sep 2008
Mr. Paul M,

After installing this mod, members of my forum are complaining that they are NOT

a. receiving any subscription email
b. receiving any pm notificaiton email

what do you think is going on? the number set to 5 btw.

thanks
Reply With Quote
  #157  
Old 28 Dec 2009, 14:37
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Originally Posted by the stig View Post
what do you think is going on?
I cannot possibly guess at what is happening on your site.
__________________


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.
Reply With Quote
  #158  
Old 28 Dec 2009, 19:21
joe1989 joe1989 is offline
 
Join Date: Apr 2008
Perhaps he is using 4.0?? The_stig... this mod is not compatible with 4.0 (yet), so if you are running 4.0, you need to disable this mod in the ACP --> Plugins and Products.

Regards,
Joe
Reply With Quote
  #159  
Old 29 Dec 2009, 07:40
the stig's Avatar
the stig the stig is offline
 
Join Date: Sep 2008
Originally Posted by Paul M View Post
I cannot possibly guess at what is happening on your site.
I have no clue what's going on . My vb software is pretty much stock. Almost no modification done to it. I don't know why it's not working. MEmbers are not receiving any emails whatsoever. I found out today that I'm not receiving "contact us" emails either .

Originally Posted by joe1989 View Post
Perhaps he is using 4.0?? The_stig... this mod is not compatible with 4.0 (yet), so if you are running 4.0, you need to disable this mod in the ACP --> Plugins and Products.

Regards,
Joe
Hey joe, I have 3.8.4 version.
Reply With Quote
  #160  
Old 29 Dec 2009, 12:19
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Perhaps you need to check your e-mail system, send one from the ACP dianostics page.
__________________


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.
Reply With Quote
  #161  
Old 29 Dec 2009, 21:52
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Real name: Mark V
I had this in 3.8 and would love to see it in 4.0! Thanks Paul
Reply With Quote
  #162  
Old 30 Dec 2009, 02:56
the stig's Avatar
the stig the stig is offline
 
Join Date: Sep 2008
Originally Posted by Paul M View Post
Perhaps you need to check your e-mail system, send one from the ACP dianostics page.
I did and the email works. Members are saying that they are receiving pm and thread subscription emails from 2-3 days ago , just NOW!

I am now forced to move to a new VPS server .
Reply With Quote
  #163  
Old 30 Dec 2009, 03:16
the stig's Avatar
the stig the stig is offline
 
Join Date: Sep 2008
Paul, is there a way I can remove "contact us' from the bottom of the page?

It's not sending ANY emails from here so I would like to know if I can delete temporarily.
Reply With Quote
  #164  
Old 01 Jan 2010, 09:22
Sworm Sworm is offline
 
Join Date: Feb 2008
When we can use your great mod on vb4?
Reply With Quote
  #165  
Old 01 Jan 2010, 11:12
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
I hope this will be updated for vb 4.0 soon.
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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: