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)

dtv100 01-25-2008 08:30 PM

I try this on our site and seding 50k emails dont overload the server any more thanks .

Budweiser 02-04-2008 01:40 AM

Thank you for writing this Mod. I just downloaded it and will be installing it soon. I have been using the YABB forum for several years and just installed VB and VBadvanced. I was never able to use the YABB email system and thought I would have the same problem with VB (untill I found your Mod). If anyone is curious... I use aplus.net and their mail limitation is 500 per 1/2 hour.

kylek 02-10-2008 05:40 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1410680)
Yea it sucks having vB on hostgator site and can only send 200 emails a day. This is the perfect fix for that. Props to Dr Pepper Addict :up:

SVT


HostGator has changed the email limits to 500 per hour now.

http://forums.hostgator.com/showthread.php?t=26795

gbox master 02-10-2008 07:36 PM

is there a how to use for this modification
where are the settings :confused:
how to adjust the settings :confused:
etc etc etc etc:confused :confused:

it would save noobs like me hours of searching in the thousends of settings of the vB :(

SVTCobraLTD 02-10-2008 08:11 PM

Quote:

Originally Posted by kylek (Post 1440249)
HostGator has changed the email limits to 500 per hour now.

http://forums.hostgator.com/showthread.php?t=26795

That is great news. Thanks for sharing.


Quote:

Originally Posted by gbox master (Post 1440325)
is there a how to use for this modification
where are the settings :confused:
how to adjust the settings :confused:
etc etc etc etc:confused :confused:

it would save noobs like me hours of searching in the thousends of settings of the vB :(

AdminCP > vBulletin Options > Email Options > Number of Emails to Send Per Batch

SVT

gbox master 02-10-2008 09:28 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1440346)

AdminCP > vBulletin Options > Email Options > Number of Emails to Send Per Batch

SVT

thnx m8 and the time inteval :confused:
and is this all :confused:
so i can start sending my members a update on some things ?
no longer i need to stay up for a couple of hours just to push the button 1000 times :mad:

SVTCobraLTD 02-11-2008 01:16 AM

Quote:

Originally Posted by gbox master (Post 1440382)
thnx m8 and the time inteval :confused:
and is this all :confused:
so i can start sending my members a update on some things ?
no longer i need to stay up for a couple of hours just to push the button 1000 times :mad:

If you put 25 in there, it will send out 25 emails every 10 minutes resulting in 150 per hour.

SVT

zlos 02-11-2008 08:33 AM

1. BUG: when using mysql slave server there is an SQL error while importing the product (it tries to issue UPDATE command to a slave server)
2. GREAT MOD: I have 220.000 users in newsletter and it took me 10 minutes to batch the newsletter. You saved 3 hours of my time, which I can now consume on drinking the toast to you ;)

Paul M 02-11-2008 11:29 AM

Quote:

Originally Posted by zlos (Post 1440659)
1. BUG: when using mysql slave server there is an SQL error while importing the product (it tries to issue UPDATE command to a slave server)

This does not run any SQL commands when its installed (unless vbulletin itself runs some, in which case thats a generic vb bug).

gbox master 02-11-2008 03:52 PM

so the time is preset to 1 min??
if so why not a how to with the files that explains some things

Paul M 02-12-2008 07:09 AM

Why not read the first post.

Peejay 02-17-2008 02:05 PM

Another Host Gator user here who is very happy with this hack as it saves me having to worry about the mass mails that go out from the site automatically for innactive users etc...

Many thanks :D

gbox master 02-17-2008 09:12 PM

Quote:

Originally Posted by Paul M (Post 1441297)
Why not read the first post.

Quote:

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

thats the problem otherwise i would not ask
i dont understand what it say
i dont see any settings
so maybe there should be a good howto for all these hacks and mods
then we would not have to ask so many questions

zlos 02-18-2008 05:45 AM

Hi Paul

My mail processing stopped this night. I have checked database - everything seems to be fine (mailqueue and datastore tables are repaired and returned OK). I see no error logged in apache log. I see no error while trying to invoke scheduled task manually. Mailing works just fine (registration emails and bad posts reports are being sent).
Where to dig now? Over 50.000 mails are waiting in the pipe...

EDIT: I have found erroneous record in mailqueue (partly cut text). Truncating mailqueue helped.

gbox master 02-22-2008 07:53 PM

:confused: now i see some mail thing in the admin pannel see atachment

why not a good howto for this hack please
so we can use it and edit the settings
and some explanation where the settings are located


if there is any member who knows these things please pm me so i can get in touch with some one who knows how this thing works :up:

Icy 02-23-2008 12:49 AM

This is because you have installed Antivirus's plugin, which shows queue stats on Admin Control Panel. There is no settings for this. It will just show your mail queue stats. However you can edit two options.

1. Admin Control Panel > vBulletin Options > Email Options

2. Admin Control Panel > Scheduled Tasks > Scheduled Task Manager

NeutralizeR 02-24-2008 01:25 PM

I'm glad i found this hack, thanks Paul!

Btw, i also have this hack installed. Does it have anything to do with yours?
https://vborg.vbsupport.ru/showthread.php?t=123719

Another question...

Let's say i sent 100.000 emails to my members using "Send email to users" function and i have the default settings (600 emails per hour) enabled. It'll take about 7 days to finish sending emails? In the mean time, users won't receive "password reminder" emails till the queue is free, will they?

Paul M 02-24-2008 05:28 PM

Quote:

Originally Posted by NeutralizeR (Post 1449917)
Let's say i sent 100.000 emails to my members using "Send email to users" function and i have the default settings (600 emails per hour) enabled. It'll take about 7 days to finish sending emails? In the mean time, users won't receive "password reminder" emails till the queue is free, will they?

Yes, it would take 7 days at that rate. As for password reminders, I suspect they are not queued, but I don't know for sure without looking at the VB code. Subscription emails would be delayed.

mabe38 02-29-2008 03:28 PM

Quote:

Originally Posted by Antivirus (Post 1367832)
Great modification Paul, really helps with sending out emails to large amounts of members. I found myself wondering how many emails were in the queue quite often however, and I got tired of manually running a SELECT query in the console to find out how many emails were remaining in the queue... so i coded the attached add-on for your mod which adds the quantity of remaining emails in the mail queue to the AdminCP page.

You can see a screenpic of what it does in the attached "screenie.gif" image. I just thought I would share it with everyone who's using this mod, makes life a little easier. :)

Where can I see that option???

Icy 02-29-2008 05:22 PM

Quote:

Originally Posted by mabe38 (Post 1453735)
Where can I see that option???

In Admin Control Panel Index (./admincp/index.php). Above the Administrator Notes.

haytham 02-29-2008 10:59 PM

Thank you.

toucan42 04-05-2008 03:38 PM

Anyone have this working for 3.7? Seems to have been disabled and I just flooded out emails - my host is gonna shoot me (drat!)

Paul M 04-05-2008 04:59 PM

There is a 3.7 version in the appropriate forum.

toucan42 04-13-2008 12:15 AM

Thanks Paul M! Great work =)

Aneurysm 04-13-2008 09:02 PM

I am so glad I found this hack, It will save me from having to upgrade my hosting to a VPS account to get around my host's 25/minute 600/hour outgoing messages limit and it has stopped my yahoo bounces overnight.

anakayam.us 04-20-2008 12:41 PM

hello,i want set 500messages/hour.
batch setting ........ 10/20/30 ?

Paul M 04-20-2008 12:47 PM

80 would be about right (6 x 80 = 480).

alfieuk 05-19-2008 07:30 PM

Hi Paul
i have a problem using this. I have it installed perfectly and it runs without a problem however my host says it is straining the server when it sends emails.

Basically I had it set to email 10 (batch) ever 10 minutes, basically though it is sending 10 at the same time which is what they are complaining about, basically they dont want me sending more than 1 per second. Sorry if this sounds gibberish but how do i set it to send them by seconds, or cant it be done, I have 2500 members, if i set it to send 1 every 10 minutes it will take forever to email my members.

Any help or advice would be very much appreciated.

Paul M 05-19-2008 10:38 PM

There is no way to do that without editing the mail class.

TBH, you seriously need to look for another host if 10 emails is causing them issues.

alfieuk 05-19-2008 11:12 PM

Hi thanks for the reply, they have told us that we can send 3600 per hour but no more than 1 per second. Unfortunately this system sends them all together, whatever the batch is set at, this is the problem unable to solve :(

Paul M 05-19-2008 11:55 PM

"This system" as you call it, is the standard vb mail system. Like I said, the only way to add a delay is to edit the vb mail class.

asasi 06-15-2008 03:33 PM

my server limit us to send just 200 emails per hour. we have about 40000 users and want to send them an newsletter. can I do this with your mod?

regards

Paul M 06-15-2008 04:34 PM

Yes, as long as your send it via the vb mail system.

asasi 06-15-2008 04:46 PM

Is it in admincp ? or need any other mod to install?

SVTCobraLTD 07-06-2008 02:38 PM

Is this updated for 3.6.10pl2? I just sent out a ton of emails and got a lot kicked back saying
Code:

  Domain XXX.com has exceeded the max emails per hour (500) allowed.
Message discarded.

Any ideas on this?

Paul M 07-06-2008 05:16 PM

It doesnt need updating, as it says ;

Quote:

Version: 3.6.x

SVTCobraLTD 07-06-2008 08:13 PM

Quote:

Originally Posted by Paul M (Post 1568293)
It doesnt need updating, as it says ;

Then why would it stop working? Any ideas?

Paul M 07-07-2008 06:22 PM

Because you have changed something. I cannot possible guess what, but nothing just stops working.

len backus 09-11-2008 03:46 PM

edited

USAMustangs.com 11-27-2008 04:31 AM

How can you purge unsent emails out of the queue? Say you inadvertently send a mass pm and forgot to delete certain usergroups before you sent the pm. How would you purge those before they go out?

Thanks


All times are GMT. The time now is 07:43 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.01351 seconds
  • Memory Usage 1,820KB
  • 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_code_printable
  • (13)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