PDA

View Full Version : Cron Based E-Mail Sending


Paul M
08 Jan 2008, 20:23
vBulletin 3.7 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 then attempts to send them as each user visits a page, or just simply tries to send them straight away (This is the case when you use the Administrators email users inteface).

As a result of this your server can become seriously overloaded very quickly - so sending several thousand e-mails (like a newsletter) can become very difficult (hours spent clicking 'next' in the ACP) - as a result of these problems, this very simple modification was born.

This modification does two things ;

1. E-mails from the ACP inteface are sent to the mail queue, not straight to the mail system.

2. The processing of the mail queue is set-up as a vb cron item.

Obviously 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 realisitc 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 (http://www.vbulletin.org/forum/member.php?u=64660) that displays the current size of the mail queue (v3.7.002 onwards).

Version 3.7.003 has the option to add a small delay before each e-mail is sent (between 1 and 9 seconds). Use this option carefully.



History:

v3.7.001 : First Release for vB 3.7
v3.7.002 : Added mail queue size display code.
v3.7.003 : Added option for a delay between the sending of each e-mail.

joopss
08 Jan 2008, 21:08
Tenks Paul M......... :)

Howell
08 Jan 2008, 22:56
Excellent! Thanks Paul.

I had to change the compatability of antivirus's little addon to get to install but it's working fine after that. ;)

yahoooh
09 Jan 2008, 15:59
thanks

obmob
11 Jan 2008, 05:23
This can be a huge addon, thanks will test it! :3

rainyleaves
13 Jan 2008, 14:15
Thanks Paul. :)

teenhut
23 Jan 2008, 20:42
Thanks a ton. I tried to send email through VB system and my VPS went way damn slow and crashed. I had to abort email sending. I just installed this now. Things will be much easier now :)

yawsh
03 Feb 2008, 05:06
I think this should go as vBulletin built-in as it adds a huge value. Thanks pals.

Paul M
03 Feb 2008, 12:57
You should probably suggest that on vb.com. They're not likely to see any comments over here. :)

hdrmut
03 Feb 2008, 18:47
Very important modification ..
isntalled Done

- this is modification send 1 E-mail in evry 10 but i want chang this numper to send 100 E-mail in evry 10 minutes .. so how i can change ?

Paul M
03 Feb 2008, 20:18
Read the first post.

hdrmut
03 Feb 2008, 23:03
Thank you :)

asj
04 Feb 2008, 02:02
Thank you very much

kylek
10 Feb 2008, 22:30
"Queue Size
Antivirus (http://www.vbulletin.org/forum/member.php?u=64660) has posted a nifty little addon that displays the current size of the mail queue here (http://www.vbulletin.org/forum/showthread.php?p=1367832#post1367832)."

This doesn't seem to work with 3.7.0 Beta 4. When you import the product you get this:

The following dependencies were not met:
The product paulm_20060709 must be installed before this product may be installed. (Compatible starting with 1)

Howell
10 Feb 2008, 23:04
"Queue Size
Antivirus (http://www.vbulletin.org/forum/member.php?u=64660) has posted a nifty little addon that displays the current size of the mail queue here (http://www.vbulletin.org/forum/showthread.php?p=1367832#post1367832)."

This doesn't seem to work with 3.7.0 Beta 4. When you import the product you get this:

The following dependencies were not met:
The product paulm_20060709 must be installed before this product may be installed. (Compatible starting with 1)

Open: product-anti_mailqueue_stats_acp

Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Thats what I did to get it working. :)

Paul M
11 Feb 2008, 13:22
Yes, well spotted.

I suppose what I should really do is ask Antivirus if I can include his code in the main product.

djpassion
19 Apr 2008, 02:09
Hi Paul, looks like it will do the job once i figure out how to use it properly

Ive setup the script but i got this error

Database error in vBulletin 3.7.0 Release Candidate 3:

Invalid SQL:

UPDATE datastore SET
data = data - 250,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Friday, April 18th 2008 @ 07:02:17 PM
Script : http://www.djpassion.co.uk/forums/admincp/cronadmin.php?do=runcron&cronid=21
Referrer : http://www.djpassion.co.uk/forums/admincp/index.php
IP Address : **********
Username : Chris Powell
Classname : vB_Database
MySQL Version :

It seemed to work out with the email send out setting set to 10 but when i tried 250 i got the above error

My host allow 500 emails to be sent out per hour. I have just under 1000 members so to be on the safe side would have thought setting it to send 250 emails per hour would work ok...please help

djpassion
19 Apr 2008, 02:11
Ps even though it said it failed i think the emails still sent out because the Mailqueue Quick Stats went from around 950 to this

There are currently 679 unsent emails remaining in the mail queue.

djpassion
19 Apr 2008, 09:44
just checked back this morning and have now got There are currently 434 unsent emails remaining in the mail queue.
more info. the error message i got above was what i got after running the Run Now button in scheduled tasks. hope this extra info helps.

Paul M
19 Apr 2008, 13:08
You obviously have a fairly low mysql timeout, so if you try and send too many emails in one go, your database connection is timing out before they have all been sent.

djpassion
19 Apr 2008, 16:15
Well I sent 167 on one of my other sites which is hosted on the djpassion account as a addon domain and they all sent successfully so I don’t think its a mysql problem. I did change the schedule times around a little invbulletin which I think fixed it though. It didn’t seem to work when set to send all emails everyday. But once I figured out how to change it to 1 hour I think it sorted it. I also took the limit down from 250 to 100 and they all seem to be sending ok. Like when I check back every hour 100 more have sent so I guess its working ok now...? If so thanks to you so much for this hack and to Antivirus for his little addition….makes life much easier.

cheers chris

F.nk
05 May 2008, 23:57
Thank you, it works beautifully :D
I also see that my server is faster ^_^
thanks.

TCB
06 May 2008, 18:10
Thanks for this product. I have some questions though:

I have in the ACP under email options:

Email Flood Check: 0
Number of Emails to Send Per Batch: 25

Then the cron is setup to run every 10 minutes.

What does the floodcheck do? Does it interfere with this addon?

Where can I see the number of unsent messages in the cron queue (antivirus addon)?

On the end of your first post you say: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. .
I don't understand this part. First we have to set a number in the 'email'-option in the ACP (like 25), and then (when?) it can be safely set to a high number?

Paul M
06 May 2008, 18:22
Flood check is not part of this mod.

The ACP mail inteface is when you mass email users via the ACP, not the Emails per batch option, totally different thing.

TCB
06 May 2008, 19:50
so this current setting is right? If so, when can this '25' be changed to '9999'?

Paul M
06 May 2008, 20:39
It cant, like I said, its nothing to do with that.

Its the ACP > Users > Send Email to Users.

wii
07 May 2008, 15:55
My host has this limit:

Run cron entries with intervals of less than 15 minutes

1. Would that be a problem ? Since I´m allowed to send 500 mails an hour

2. Mailqueue Quick Stats should be the total number of mails, right ?

3. How do I set the time interval - how many mails to send out a minute ?

4. Can I delete a Mailqueue once it started ?

Thanks

Jase2
20 May 2008, 16:42
Thanks Paul! Will come handy when I start sending a newsletter, but works great for subscriptions in the mean time. :)

coberr
29 May 2008, 23:26
Hello,
I installed the plugin.
I turn on e-mail queuing in the ACP options - set 'Use Mailqueue System' to 'Yes', and 'Number of Emails set to 10.

How to send now mails to all normal users.
Thank you.
Regards,
Manuel

Paul M
29 May 2008, 23:50
ACP > Users > Send Email to Users.

losedude
31 May 2008, 19:46
Hi,

I'm using this mod right now and I must admit it's a life saver ^^ , I wouldn't be able to send out emails without it.

I was wondering though, where do I have to go to see the amount of emails that are left to be sent ?

Thanks

Paul M
01 Jun 2008, 19:13
Thats entirely server/os/control panel dependant (unless you means still to be sent by vb ?).

losedude
03 Jun 2008, 18:59
Yes that's what I mean, how many emails VB has left to send.

Paul M
03 Jun 2008, 19:01
Its displayed in the ACP.

360themes
05 Jun 2008, 04:57
i want to send HTML Mail to Members by this way ... but VBB seems not support T.T ... who can help me ?

alhindasi
23 Jun 2008, 16:47
The number of seconds delay before sending each e-mail. Note that values greater than 9 seconds will be ignored

can you tell me what is the number it can be good to my sarver not mack up load

Paul M
23 Jun 2008, 18:51
Unless you have a specific reason then you wont normally need to change it from zero.

alhindasi
23 Jun 2008, 19:22
Unless you have a specific reason then you wont normally need to change it from zero.

that mean the zero is good ...

alhindasi
23 Jun 2008, 19:31
Dear in My Web Host Manager i do like this :
Number of minutes between mail server queue runs (default is 60). : 10
The maximum each domain can send out per hour (0 is unlimited) : 3500

in my Server Only One site only
----------------------------------------------------------------------------------
in the forum Option i do in : Number of Emails to Send Per Batch: 500


can you tell me what is the good for me i have 50,000 Members

Sherrie
27 Jun 2008, 03:13
Okay I am new to adding plugins and products so this may be a really dumb question so apologies in advance :)

I have installed this as instructed and already have email queue enabled but where I am stuck is the next step as I do not follow where I change the cron settings:

Obviously 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 realisitc 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).


Any help would be appreciated

Thanks

Sherrie
27 Jun 2008, 05:03
Never mind, I figured it out (scheduled task manager) and it is running beautifully, thank you very much as I really needed this!

One more question though, how do you view your mail queue?

Cheers

Paul M
27 Jun 2008, 14:57
See post #32

helpmehost
28 Jun 2008, 22:05
reserved

wii
15 Jul 2008, 20:27
The update works fine, but very slow, since my host requires me to set it to throttle it at least every 6 seconds, now the email manager take forever to get the mails out.

Paul M
15 Jul 2008, 21:20
Six seconds is a ridiculous amount of time, it *will* run slowly.

wii
16 Jul 2008, 08:32
Yeah, I will contact my host again about this.

dtommy79
17 Jul 2008, 14:39
Hi,

It may be a dull question, but how can I use it?

I have to enable Mailqueue System and set the "Number of Emails to Send Per Batch" option and that's it?

And also on my host I have a 200 emails/hour limit, I have around 1000 members. What's the best settings for me?

thanks for the help

Paul M
17 Jul 2008, 17:17
Once its installed, yes, you just enable the queue system and set the number - in your case you should set it to 30. (30 x 6 = 180 per hour).

dtommy79
19 Jul 2008, 09:06
Once its installed, yes, you just enable the queue system and set the number - in your case you should set it to 30. (30 x 6 = 180 per hour).
Hi,

I enabled and set the number, but I think it's not doing what it supposed to.

When I try to check the logs it says there is no result. The logging is enabled though.

StonePilot
23 Jul 2008, 22:32
Looks like it's working properly for me, my VPS has the emails shut down pretty tight so this is great!

StonePilot
24 Jul 2008, 02:41
Its displayed in the ACP.

Where is this shown in the ACP? I've got 7500 emails to send out.

Paul M
24 Jul 2008, 03:07
On the main index page, above the Administrator Notes.

yahoooh
26 Jul 2008, 19:54
does this effect the sending e-mail function for addon like : vba links and vbgallery?

FLASHYAN
27 Jul 2008, 09:05
thanks pro

but if i do what u talk like :
http://www.vbulletin.org/forum/attachment.php?attachmentid=84640&stc=1&d=1217145516

how to abort or Cancel this Process when i want ??:)

jw00dy
28 Jul 2008, 07:09
I'm trying this now, but wanted to know if you had any thoughts on this...

Would their be a problem with creating a second cron (scheduled task) to run every 10 minutes on the 5's (5,15,25,35,45,55) so my queue is processed every 5 minutes instead of every 10?

I think this should work, and the crons do run, but I'm not sure the 2nd one is actually processing email, though I believe it is.

So in short my mail queue processes every 5 minutes instead of every 10. My board is pretty big, and I've had complaints about it taking a long time to get their messages... You know how that goes.

So far so good...

dtommy79
29 Jul 2008, 10:38
On the main index page, above the Administrator Notes.

For some reason it doesn't want to send emails. For days now I have this message above admin notes.

There are currently 769 unsent emails remaining in the mail queue.

Arsh
02 Aug 2008, 09:02
HI

When trying to install the mod, I'm getting this error:

vBulletin Message

XML Error: not well-formed (invalid token) at Line 1

How do I fix this?

Paul M
02 Aug 2008, 20:20
Would their be a problem with creating a second cron (scheduled task) to run every 10 minutes on the 5's (5,15,25,35,45,55) so my queue is processed every 5 minutes instead of every 10?

That would work fine.

jw00dy
04 Aug 2008, 16:48
Thanks paul.

Froggy32701
10 Aug 2008, 08:16
E-Mail Send Delay

Is this out of que? or into.

As I set this to 1 and it seems like it was 1 second for each to go into que? If so what is the benefit of this?

Chimpie
11 Aug 2008, 17:59
It cant, like I said, its nothing to do with that.

Its the ACP > Users > Send Email to Users.

Hey Paul... just seeking some clarification here...

Are you saying that this mod will not affect the Send Email to Users, or will it also work with Send Email to Users?

EDIT:And I'm overlooking the obvious here, but where do we make the change from running the cron every 10 minutes to every 5 minutes (or whatever)?

i.s.s.w
19 Aug 2008, 08:41
thank Paul M

i am testing good

yahoooh
20 Aug 2008, 03:50
after install this product some e-mail not show the bburl option correctly
like: $vboptions[bbtitle] , $vboptions[bburl]

Paul M
21 Aug 2008, 01:08
This does not alter the content of e-mails.

txspaderz
22 Aug 2008, 07:39
Marked as Installed. Thanks for this great add-on!!!!

Chimpie
25 Aug 2008, 00:23
Just want to add a thank you to this thread. This mod is working out nicely.

:thumbsup:

My forum has around a thousand members and I have two crons set up for this. I send out 10 emails every 5 minutes. This shouldn't raise any flags with any ISPs.

StonePilot
26 Aug 2008, 09:25
How to set this to send email out every minute? I made two cron jobs running 0-10-20-30-40-50, and 5-15-25-35-45-55. Even at this, it's taking hours to send emails out. Granted, I have nearly 10,000 emails to ship, maybe I would be better off sending though a third-party email system at this point.

Paul M
26 Aug 2008, 11:59
Set all the options in the vb cron to "*" and it should run the cron once a minute.

mayanks
31 Aug 2008, 20:42
Hi Paul,

Could you please let me know if these settings are fine ? i have 18K+ members on my board

Thanks

Chimpie
01 Sep 2008, 04:11
For those who have upgraded to vB v3.7.3 remember to update the associated php files.
:(

len backus
11 Sep 2008, 17:48
Do I need to first uninstall Version 1.12?

Paul M
11 Sep 2008, 18:38
You dont need to, you can just install this over the top of the old version. Your choice. :)

len backus
11 Sep 2008, 18:47
Paul, thanks. Do I need to do the file edits again or just upload the xml file?

Paul M
11 Sep 2008, 20:25
Check the edits, afaik they are the same.

len backus
13 Sep 2008, 12:14
Paul, After upgrade I now show 2 copies of Mailque Quick Stats in my Admin CP. ??

pmcnamara
24 Sep 2008, 13:07
I'm confused about the cron job.. what command am I asking it to run ?

420
25 Sep 2008, 09:24
i have v3.7.003 with vb 3.73 pl1

how do i tell how many seconds the delay is set for?

i had a programmer install it then went mia.

i was able to send out ten thousand emails an hour before loading this, now i can only send out about a thousand per hour, i think this may be why... is it possible?

thanks for your valuable time and support!

Paul M
25 Sep 2008, 13:53
The delay is a setting in the vb options for this mod, simply check what its set to.

420
26 Sep 2008, 00:59
is this the code to change from 10 seconds to 1 second? < 10) to < 1)?

<removed>

420
26 Sep 2008, 01:01
and does this work on 3.73 pl1?

Paul M
26 Sep 2008, 01:03
is this the code to change from 10 seconds to 1 second? < 10) to < 1)?
No, thats just part of the plugin, as I said, to change it you would go into the mods settings.

and does this work on 3.73 pl1?

Yes.

420
26 Sep 2008, 01:25
Plugins & Products > Manage Products > Edit > Edit Product paulm_cmq_37

i cannot find a setting in here to change delay time.

am i in the wrong place?

420
27 Sep 2008, 05:20
bump...;)

glennybee
29 Sep 2008, 16:17
Is there any way I can view the mailing list to check it's progress?

Thanks

glennybee
29 Sep 2008, 16:20
Just noticed that you can see how many emails are in the queue on the main admincp page. :)

Thanks

Paul M
29 Sep 2008, 17:40
vBulletin Options > Email Options > E-Mail Send Delay

Mr-Mo3ath
02 Oct 2008, 12:46
im send but he not send and im see the cron hes not send and i doinge refresh for cron and he same proplem :s

Paul M
02 Oct 2008, 13:17
Sorry, I have no idea what you are trying to say.

Mr-Mo3ath
02 Oct 2008, 13:35
im send but he not send good the cron for example 1065 user hes not change because hes not send and im go to the cron in acp and doing refresh for cron or turn on for this cron and nothinge change i dont now why
but when i removed the proudect hes send him all :D

Mr-Mo3ath
02 Oct 2008, 13:37
and add a sugget for you if you can make him like mail php if i want stop thes meesage or turn on
like this if you can
thanks agine mr paul

Mr-Mo3ath
03 Oct 2008, 05:08
im installed him agine and he give me same proplem

Chimpie
04 Oct 2008, 21:57
I've used this before with no problems. Today, it sent emails to all 1,000+ members in short bursts, within just a few minutes instead of over a period of hours. No settings were changed.

Thoughts?

Edit: The only change was the upgrade to 3.7.3 PL1

Paul M
06 Oct 2008, 00:12
Did you redo the file edits - I would guess not.

Chimpie
06 Oct 2008, 01:04
Did you redo the file edits - I would guess not.

I changed one, but not the other. oops

Mr-Mo3ath
06 Oct 2008, 12:14
Did you redo the file edits - I would guess not.

i changed the 2 files and upload the php file and install the prodect
any think else i have to do
last plaese learn us what wh have to do when install the meesage and hoe we are confirge the mail cron good

thanks agine sair

Paul M
06 Oct 2008, 14:27
I can barely understand you, but from what I can tell, you have done everything except set the vb options. Read the first post. :)

BigDog56
06 Oct 2008, 17:33
Installed, seems to be working good!

Erosantica
06 Oct 2008, 18:22
Hi Guys,

I have install this plugin.. However it seems to be generating the email to sent to users 3 times already.
How can I prevent the email to sent it out again..

Erosantica
07 Oct 2008, 05:45
Is there any way to check what is in the mail queue?

Paul M
07 Oct 2008, 08:57
Do you mean the vb mail queue, in which case, just view the table. If you mean your mail server then probably, but I can t tell you how as its system dependant.

Erosantica
07 Oct 2008, 18:41
Hi Paul M, how to view the table in VB mail queue?

Paul M
08 Oct 2008, 16:14
Same as you view any table in mysql, phpmyadmin or the ACP are the most common ways.

dtommy79
08 Oct 2008, 19:23
Hi,

set it to run every 10 minutes, and set the items to be processed to something larger (like 100).

Where do I have to do the settings?
Can I check the progress of the sending somewhere?

Thanks

420
08 Oct 2008, 22:58
Mine is set to 0 (ZERO), what does that do?

vBulletin Options > Email Options > E-Mail Send Delay

Paul M
11 Oct 2008, 17:46
Sends them without any delay, zero is the default and prob fine for 99% of forums.

420
11 Oct 2008, 22:08
cool, thanks paul!

i think i found my problem, by the way.
in email settings in vb admin control panel, there is a setting for using smtp for your emails, instead of the web based mail... you are apparently not supposed to enter the user name and password for the email account being used, when the email server and web server share the same infrastructure... (not sure if that is the correct word or not)... when i removed the user name and password, the bottle necking and slowness stopped during email blasts and everything is back to normal... the servers are still hanging for some reason, probably a faulty add on we need to locate, but the email blasts are back to normal...

by the way, i notice i can see the mail queue in vb admin control panel now, is that a feature of vb 3.73 or is that a feature of your add on?

thanks again for your valuable time, energy and support brother!

Paul M
11 Oct 2008, 22:10
by the way, i notice i can see the mail queue in vb admin control panel now, is that a feature of vb 3.73 or is that a feature of your add on?

From the main post ;

This modification includes the code by Antivirus that displays the current size of the mail queue (v3.7.002 onwards).

420
11 Oct 2008, 22:27
thanks paul!

muhakeme
30 Oct 2008, 22:42
Thanks.

shacow
01 Nov 2008, 22:38
Thank you so much!

lebmobile
02 Nov 2008, 00:18
i got this error : Parse error: parse error, unexpected T_DIV_EQUAL in /home/content/l/e/b/lebmobilehost/html/forum/includes/functions.php on line 791

Paul M
02 Nov 2008, 01:34
You need to check the edit you made to functions.php - you have made a mistake in it.

lebmobile
02 Nov 2008, 02:15
thank you man its done .. but i want to ask where i can change the value of minutes ?

Paul M
02 Nov 2008, 13:04
Value of minutes ?

BigDog56
02 Nov 2008, 21:55
I just went into my admin control panel and saw 10 emails in queue, yet I had not sent any. Is there a way to see which member is emailing people?

Paul M
03 Nov 2008, 01:20
Try looking in the email queue table (mysql).

BigDog56
03 Nov 2008, 09:36
Try looking in the email queue table (mysql).

Thank you, got it!

lebmobile
04 Nov 2008, 15:07
i want to run this plug in every 1 hour ..where i can set that

Paul M
05 Nov 2008, 11:15
Edit the cron job in schedule manager.

kartik786
06 Nov 2008, 20:31
i have over 75k members and it takes atleast a week for the queue to send mail to all of them.

please assist as to how to make these mails reach them quicker.

i m on a dedicated server.

Mr-Mo3ath
17 Nov 2008, 15:36
thats come to me
Database error in vBulletin 3.7.4:

Invalid SQL:

UPDATE datastore SET
data = data - 350,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, November 17th 2008 @ 05:34:20 PM
Error Date : Monday, November 17th 2008 @ 05:35:01 PM
Script : http://8888888/admincp/cronadmin.php?do=runcron&cronid=24
Referrer : http://8888888/admincp/cronadmin.php?do=modify
IP Address : 8888
Username : *****
Classname : v888_Database
MySQL Version :

wreckless
20 Nov 2008, 02:06
I randomly check the queue and I see emails waiting to send. I think my registration emails are some how getting caught up. Is this possible?

Paul M
20 Nov 2008, 12:30
They are most likely subscription emails. Registration emails are not queued by vb afaik.

Plasma2002
22 Nov 2008, 04:35
Hey man, just wanted to say thanks. This is something that should be a part of vBulletin in the first place. Youve made my day easier as well as many others' im assuming.

Thank you

axi
23 Nov 2008, 12:34
hi how do i get it to send 40 an hour i tried adjusting settings in sceduled task settings for this but it still tried to send the full thing in 1 hour can anyone suggest please thanks??

axi
25 Nov 2008, 15:01
hi how do i get it to send 40 an hour i tried adjusting settings in sceduled task settings for this but it still tried to send the full thing in 1 hour can anyone suggest please thanks??

bump!!

cellow
18 Dec 2008, 08:30
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 is not working 4 me. I looked up in the database and could see that every email is in the queue. Activation-emails, registration email :-(

How can i solve this problem?

kinkarso
18 Dec 2008, 09:09
Just installed it. I'm wondering, do I have to go to cpanel and create the cron job for this to function? :)..

Can't seem to find the option to edit the number of emails to send / batch in cron, and the per minute settings.

Paul M
18 Dec 2008, 10:53
This runs via the vb cron system, not cpanel.

MuTheMatrix
23 Dec 2008, 06:04
Thanks a lot for this mod.

Sworm
01 Jan 2009, 17:09
Hi all,
this mod work on vb 3.8 too?

thanks

TMH63
06 Jan 2009, 13:10
Can someone please help me with this one? I've read through this whole thread twice and I'm still a little confused on how many emails will be sent per hour.

Here's what I have setup....

Number of Emails to Send Per Batch=8
E-Mail Send Delay=0

When I sent the mass email..... Email to send at once: I set at 100

*Scheduled Task Manager*
Days of the week=*
Day of the month=*
Hour=*
Minute=0,10,20,30,40,50


EDIT:

If I understand this correctly.......I'm beginning to believe that the amount of "Email to send at once" is irrelevant with this mod. One could have it set really to any amount. I've been watching and it seems that 8 emails are being sent every 10 min.

If someone could verify everything above....I'd appreciate it!

Chimpie
06 Jan 2009, 13:26
EDIT:

If I understand this correctly.......I'm beginning to believe that the amount of "Email to send at once" is irrelevant with this mod. One could have it set really to any amount. I've been watching and it seems that 8 emails are being sent every 10 min.

If someone could verify everything above....I'd appreciate it!

You have everything correct.

TMH63
06 Jan 2009, 13:40
You have everything correct.


Perfect! Thanks for verifying. My host allows 500 emails per hour, so I guess that I can just tweak the "Number of Emails to Send Per Batch" up to get them out faster.

Paul M
06 Jan 2009, 17:39
Yes, you can set it to 80 (6 x 80 = 480 per hour).

TMH63
06 Jan 2009, 18:50
Paul,

One thing that I've noticed though now is that for those including myself who want to get emailed on PM's received or new registrants....I'm now not getting those immediately like before.

Is there a work around to this or it is what it is?

Paul M
06 Jan 2009, 19:26
That is how vb is designed, new registration emails are not queued, I'm surprised PM notifications arent tho.

TMH63
06 Jan 2009, 19:47
That is how vb is designed, new registration emails are not queued, I'm surprised PM notifications arent tho.

Yes I know registration emails aren't queued, but my email notification of their registry is along with the email that I receive when someone sends me a PM. That's what I was wondering if there is a work around for. Prior to this mod install, I received those instantly....now they lag.

Just curious.

cellow
07 Jan 2009, 02:16
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 is not working 4 me. I looked up in the database and could see that every email is in the queue. Activation-emails, registration email :-(

How can i solve this problem?

*BUMP*
why i dont get any answer for that? Look into ur database, and u will find also queued registrion & activationlink emails!