vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Send max x emails in 1 hour (https://vborg.vbsupport.ru/showthread.php?t=294958)

Kraxell 02-10-2013 08:33 AM

Send max x emails in 1 hour
 
Hello,

my webspace allow only 200 mails/Hour. I have a community with 22.000 users. So i cant send the newsletter because hosting-techs can find the big queue on the mail server and send suspend my account. (i want to send a newsletter at all users)

I have seen a plugin, where i can send x emails in one hour but i dont find it anymore.

Anyone know this plugin and can help me?

Regards

kh99 02-10-2013 12:08 PM

If you have vb4.2.0 you can do that with the Settings under Email Options. You need to set both "Use Mailqueue System" and "Use Cron Based Sending" to Yes, then you can set "Number of Emails to Send Per Batch" to control how many are sent per hour. Since the "Process E-Mail Queue" scheduled task is set to run every 10 minutes (6 times per hour), you'd set the Per Batch size to 1/6 of what you want to send out per hour.

But this isn't perfect - some emails like registration email verification (if you have that turned on) bypass the queue. Also the scheduled tasks depend on site traffic, so if you have a site that's not active for parts of the day, mail won't get sent out. (But any solution you come up with will have the same problem unless it somehow uses the operating system cron jobs).

Kraxell 02-10-2013 03:31 PM

Thanks for this info.

Where can i set the "Per Batch size"?

kh99 02-10-2013 03:33 PM

Quote:

Originally Posted by Kraxell (Post 2403327)
Where can i set the "Per Batch size"?

It's called "Number of Emails to Send Per Batch" and it should be under Email Options. I should mention that it's the same number that's used if you set "Use Cron Based Sending" to No, but in that case (I believe) it's the number that is sent every time a user requests a page, so you would obviously want a much smaller value in that case.

Kraxell 02-10-2013 03:41 PM

I have the german version :)

How should i set the options?

https://vborg.vbsupport.ru/external/2013/02/20.jpg

kh99 02-10-2013 03:51 PM

I think you have everything set correctly, but you want to set "E-Mails pro Charge" to about 1/6 of your maximum per hour (or maybe a little less if it's a strict limit, to allow for the non-queued emails).

Kraxell 02-10-2013 03:55 PM

Ok, i have set it to 30 (30x6 times = 180) so i have 20 mails for any other things :)


All times are GMT. The time now is 11:24 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.01070 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete