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=231715)

vitrag24 12-07-2010 07:45 AM

my hosts allows 1500/hour, i've set 210/batch, is it ok?

Use mailqueue system - Yes/Yes with locking? i kept yes as of now..
I've 40,000+ users..

anything else i need to edit in settings or default is fine?

TeknoSounds 12-07-2010 11:08 AM

well you can manually adjust how often the queue sends and how many it sends per batch.
So if you have 1500...say you need to save like 250/hr for other emails your board sends out, so this means you can send 1250/hr without going over your limit.
If you wanted large batches you could send only like 250 every 15min or do small batches of 20 every 3min. Just as an example...I didn't actually figure the math out on those :p

DarKNull 12-07-2010 06:42 PM

Does this work with Admincp -> Users -> Send email to users ?

Paul M 12-07-2010 08:22 PM

As it says ;

Quote:

Once working, when using the ACP mail users inteface, remember you can set it to process 9999 at once (not 500) as the mails will now go into the queue, not be sent directly.

BiZiMDiYaR 12-12-2010 02:44 AM

Hi Paul,

Will test this out... Thanks. Would be great if in the future you also could add feature that 1x time per week and email is send to all users.. or per maybe 2x weeks, where in the email, we can add recent posts added, most popular topics of last month etc etc.. This way we can keep the users updated on all items :).

Maybe also... the ability to add holidays into the system and send out pre arranged emails like on Christmas to the users with a particular text that has been set before. :)

Thanks.

Abhik 12-27-2010 04:08 PM

Paul,
Is it a "set it and forget it" setting?

I mean, Is there anything I need to do after I choose "Users > Send Email To users", write the subject, email body and click on Submit?

ASPnix 01-14-2011 04:04 PM

Does this work as well for forum subscription notifications?

Paul M 01-14-2011 07:48 PM

If they use the vb e-mail queue then yes.

Makaveli007 01-17-2011 11:43 PM

i edited the functions file exactly as stated (not the functions exec_mail_queue();, just exec_mail_queue();) to
// exec_mail_queue(); // Paul M - Cron Mail Queue Hack //

and I get the functions.php syntax error. The line exec_mail_queue is in there twice, once with functions before, once without. I tried changing both, and tried changing just the one with function before it, and tried just with the one that doesn't have function before it. All combos cause the syntax error. When I change the line back, the error goes away.

vbulletin 4.1.1

any ideas Paul? did something in the latest version "break" your modification?

Paul M 01-18-2011 01:15 AM

Nothing has changed in 4.1.1, so you must be making some kind of mistake, or somehow corrupting your file.

JFYI, the line is near the end of the file (i.e. not the function definition).


All times are GMT. The time now is 12:38 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.01242 seconds
  • Memory Usage 1,734KB
  • 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)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