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)

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.


All times are GMT. The time now is 06:34 AM.

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.01113 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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