vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Cron Based E-Mail Sending (https://vborg.vbsupport.ru/showthread.php?t=133844)

Paul M 01-26-2007 07:49 AM

Yes they are.

If it were possible not to use them then I wouldn't. :)

kartik786 04-01-2007 02:03 AM

Quote:

just perfect ... I've modified commbull to use it too, along with automated Generation of commbull.

Thank you.
Can you share the file edits please.

I'm sure many would love this to be integrated with commbull

Mudvayne 04-01-2007 09:09 AM

If you are using the commercial version of Combull then it 'll work with this. There is an option if you want Combull follow the vB default mail queue system. If you enable this & if you have installed this hack then combull will send mail in this queue system.

Nathan2006 04-11-2007 12:38 AM

Thanks Paul

Will give it a go :)

Install

testebr 04-11-2007 04:20 PM

The best mod ever, very useful. Keep it updated always.

thanks

Rukas 04-24-2007 03:26 AM

Does this also queue the "Email Users" system of static created mass emails?

Paul M 04-24-2007 12:08 PM

Sorry, I don't really understand your question - what are "static created mass emails" ?

Mudvayne 04-24-2007 02:14 PM

Quote:

Originally Posted by Rukas (Post 1234447)
Does this also queue the "Email Users" system of static created mass emails?

The bottom line is this modification just change the default queue system & send mail based on cron. Now any modification that follows vB's default mail queue system 'll work with this hack.

Julie 04-29-2007 12:40 PM

Woho! Thanks for this :) I've been looking for something like this ever since 98% or so of the e-mails I sent bounced back :P lol... Thanks! :)

Antivirus 04-30-2007 09:12 PM

This sounds like something I could really use Paul, thanks. I take it that this will work regardless of whether or not the board is sending email via SMTP or php's mail() function, correct?

Paul M 05-01-2007 11:45 AM

Correct.

M-Tuning 05-04-2007 05:33 AM

I've installed this product, but is it possible to see how much e-mails have been send?

I've mailed to around 16.000 members yesterday, and i don't think they received mails.

I've set Number of Emails to Send Per Batch to 200 and the cron is unmodified (every 10 minutes)

Antivirus 05-07-2007 04:36 PM

Quote:

Originally Posted by Paul M (Post 1238883)
Correct.

Thanks for clarifying that :)

lazydesis 05-09-2007 08:10 PM

does this work if i use SMTP server ?

thanx for the hack :)

Paul M 05-09-2007 08:30 PM

Quote:

Originally Posted by lazyindian (Post 1244538)
does this work if i use SMTP server ?

thanx for the hack :)

Look up the page a few posts. ;)

lazydesis 05-10-2007 05:31 PM

OK ..gotcha ..thanx ... but looks like doesnt work for me :(

when i send mails using ACP> Users> Send Email it starts sending mails as usual (one after another) and doesnt say anything about them sent to queue.

Did i do some mistake :(

Paul M 05-11-2007 01:21 AM

Did you do the file edits ?

Also, what do you mean exactly - they will still get listed in the ACP exactly the same (well, much faster actually) - did you actually check your servers outgoing mail queue ?

lazydesis 05-19-2007 01:14 PM

oh ..so u saying that for ACP> Users> Send Email it will still show, sent sent sent for every user?

Paul M 05-19-2007 03:40 PM

Quote:

Originally Posted by lazyindian (Post 1250805)
oh ..so u saying that for ACP> Users> Send Email it will still show, sent sent sent for every user?

Yes, that will not change, all that changes is that they will be sent to vb's mail queue for processing in batches by this mod, not sent direct to your servers mail system.

pictureboarduk 05-25-2007 12:15 PM

Cool, installed.

kylek 06-12-2007 08:14 AM

Our host requires emails to be spaced 6 seconds between each one and only 200 per hour, is this something that could be set up with this if at all possible?

Paul M 06-12-2007 10:50 AM

200 per hour would be easy to set-up (with the default 10 minutes between batches, just set each batch to 32 max). I don't know of any system that would put a six second delay between e-mails.

You could also set the cron to run once a minute, processing 3 e-mails each time.

kylek 06-12-2007 05:50 PM

Right now we have only found phplist which so far I cant get working at all. They say you can adjust the seconds between messages.

"The MAILQUEUE_THROTTLE setting inserts a pause (in seconds) between each message, i.e. it will space messages apart by a number of seconds."

Example:
# batch processing disabled:
define("MAILQUEUE_BATCH_SIZE",0);

# Batch_period is not effective when batch processing is disabled:
define("MAILQUEUE_BATCH_PERIOD",3600);

# Pause between messages (in seconds) to send no more than 360 messages per hour:
define('MAILQUEUE_THROTTLE',10);

Paul M 06-12-2007 07:32 PM

Sorry, I cannot help you with phplist, only this modification.

If you choose the once per minute option then I really don't see what the problem is, there is no good reason to send the three e-mails 6 seconds apart , that's just nonsense.

In fact, there isn't really much reason to do it at all, if your host really insists on such stupid rules then tbh, you should start looking for another.

kylek 06-12-2007 07:48 PM

Sorry wasn't expecting help with phplist, only answering your comment on systems that would give 6 second delays.

Hostgator is the one who has these guidelines for shared servers.

I will set it for one a minute and give it a try, this way they cant say we are breaking the rules and we defiantly wont go over their 200 per hour policy.

FReeSTER 06-17-2007 02:41 AM

Quote:

Originally Posted by m-tuning (Post 1241118)
I've installed this product, but is it possible to see how much e-mails have been send?

I've mailed to around 16.000 members yesterday, and i don't think they received mails.

I've set Number of Emails to Send Per Batch to 200 and the cron is unmodified (every 10 minutes)

I have the same problem, it works great but no email sends..... I have follow every single instructions but now the email dont work at all.

Anyhelp please

Paul M 06-17-2007 10:27 AM

This does not alter how your sever sends e-mails, if you have followed the instructions then the e-mails are passed by vb to your server just the same as always (just in batches every 10 minutes, not straight away). Are you sure you did this (below)

Quote:

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

kollam003 06-17-2007 04:11 PM

thanks Paul for the hack :)

axi 07-19-2007 12:32 PM

so according to the instructions above, if i want to send 450 emails per hour. once installed i turn on the use mailqueue system in email options?

and then for 'Number of Emails to Send Per Batch' i put in 75 ? As it sends emails every 10 minutes is that right? That will be 450 emails per hour??

Nothing else needs to be mofified right???

Paul M 07-19-2007 05:02 PM

75 * 6 = 450, correct.

axi 07-20-2007 09:17 AM

thanks!

NathanLedet 08-02-2007 11:22 PM

I'm just a little confused on which numbers to change...

Cron Email set to 10 minutes

in ACP > Email Options > Number of Emails to Send Per Batch = 80

Users > Send Email to Users > Emails to send at once = 800 (I have less than 800 users)

So, i type in the message that is to be sent...and click "Submit", and it confirms that all e-mails have been sent (or, sent to the queue)

Every 10 minutes, 80 e-mails get sent....Is this correct????

Thanks!

Nathan2006 08-03-2007 09:05 PM

I have been getting bounced emails from yahoo saying that I have sent the limit of 100 emails to them within 1 hour.

If I set "Number of Emails to Send Per Batch" to 1 would it send out 10 emails every 10 minutes?

So it would be 60 every 1 hour?

Thanks for any help :)

Paul M 08-04-2007 04:56 PM

Nope, it would send 1 e-mail every 10 minutes.

txsbmw 08-06-2007 01:21 AM

I just updated to 3.6.8 (previously 3.6.7pl1 or whatever it was, lol) and this mod is no longer working. Host company just shut down the forums because I exceeded the 200 per hour limit.

Trying to remember, but this mod required php file edits right?

Paul M 08-06-2007 08:18 AM

Yes it does require edits.

txsbmw 08-06-2007 12:31 PM

Thanks, I applied the updates to those PHP files so everything should be working fine now.

Nathan2006 08-07-2007 12:21 AM

Quote:

Originally Posted by Paul M (Post 1309750)
Nope, it would send 1 e-mail every 10 minutes.


Thanks for that Paul,

They have increesed my emails to 500 per hour :)

Masiello 09-25-2007 06:17 AM

This mod is just what I need for my hosting server configuration, when I send mass emails the server go in overload and stop sending giving me database error in Admin Control Panel, with this mod I am able to set the sending in queue and for sure all email finish at destination!
Thanks Paul, I'll try this later :)
I always say that the Paul M and Cybernetec Mod's are the best!

Masiello 09-27-2007 07:19 AM

Hello Paul, I've not touch any setting in the CronJob and setting Number of Emails to Send Per Batch to 6, this presume that process sending 6 email per minute, it is right? Also this working when I send users email to all users? And when sending the email for all users, for example 600 users, it is possible to close my session from admincp to finish the sending process or I have to waiting logged in total time?

Thanks in advance for the clarify


All times are GMT. The time now is 11:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01346 seconds
  • Memory Usage 1,814KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete