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

voglermc 12-29-2009 08:52 PM

I had this in 3.8 and would love to see it in 4.0! Thanks Paul

the stig 12-30-2009 01:56 AM

Quote:

Originally Posted by Paul M (Post 1941433)
Perhaps you need to check your e-mail system, send one from the ACP dianostics page.

I did and the email works. Members are saying that they are receiving pm and thread subscription emails from 2-3 days ago , just NOW!

I am now forced to move to a new VPS server :(.

the stig 12-30-2009 02:16 AM

Paul, is there a way I can remove "contact us' from the bottom of the page?

It's not sending ANY emails from here so I would like to know if I can delete temporarily.

Sworm 01-01-2010 08:22 AM

When we can use your great mod on vb4?

vitrag24 01-01-2010 10:12 AM

I hope this will be updated for vb 4.0 soon.
Thanks.

Paul M 01-01-2010 12:08 PM

It already has :)

Sworm 01-01-2010 04:01 PM

Oh wow,

and where can be downloaded?

I have tried to use 3.8.001 on previous vb4 beta , but the queue is never empty and the emails are not sended..... Do u have released some upgrade?

Paul M 01-01-2010 11:19 PM

Just look in my profile, and you will find it in the vb4 section.

the stig 01-11-2010 09:41 AM

Quote:

Originally Posted by the stig (Post 1940207)
Mr. Paul M,

After installing this mod, members of my forum are complaining that they are NOT

a. receiving any subscription email
b. receiving any pm notificaiton email

what do you think is going on? the number set to 5 btw.

thanks

Quote:

Originally Posted by the stig (Post 1941273)
I have no clue what's going on :(. My vb software is pretty much stock. Almost no modification done to it. I don't know why it's not working. MEmbers are not receiving any emails whatsoever. I found out today that I'm not receiving "contact us" emails either :(.



Hey joe, I have 3.8.4 version.

Quote:

Originally Posted by Paul M (Post 1940374)
I cannot possibly guess at what is happening on your site. :)

Quote:

Originally Posted by Paul M (Post 1941433)
Perhaps you need to check your e-mail system, send one from the ACP dianostics page.

Paul M, I fixed the problem (vb 3.8.4 ). I put 5 email in the batches instead of 60 or 80. Yesterday I had 33,000 emails in the queue! Well, it's finally going now since I changed the value. It's at 24,000 now thank god. Good modification. Thanks for posting. A MUST have for ALL shared hosting vb owner.

I will say one thing though, EVEN if you turn this modification off, you NO LONGER receive emails directly from vb. I turned the mod off , I still didn't receive any email. Also, you mentioned in original post that registration emails are bypassed. But during the queue, I didn't receive "contact us" email (i'm receiving them now) and new user notification (i'm receiving them now) ..weird

Paul M 01-11-2010 10:32 AM

Turning it off is not sufficient, you also need to reverse the file edits, otherwise you wont get queued emails.

yoyoman 01-19-2010 12:50 AM

Hi, Paul!
Installed and marked.

Next question. I installed the mod on vB 3.8.3 and sent 24 test emails with the batch value set to 10. Waited an hour, but nothing happened.
There are approximately 18 users viewing my forum at the moment. If I send more e-mails, they queue up. In the scheduled tasks it says that the next start is at 3:50, although I sent the e-mails at 4:24. Strange, huh?
If I run the mod manually - it works.

What could be the problem? Need a little tip here.

Kirill

yoyoman 01-19-2010 01:06 AM

In the scheduled tasks I clicked edit, didn't change anything, clicked save and the next start time changed to 06:00. This was at 05:52. But now it's already 06:05 and nothing has happened - neither the queue of emails decreased, nor the next start time changed - it's still at 06:00.

Paul M 01-19-2010 11:23 AM

Sounds like your cron system is not functioning correctly, either its broke, or you dont have enough real visitors to keep it going. When you say 18 users, are they spiders ? - as they will not trigger the cron system.

Griffoneur 01-19-2010 11:48 AM

Skipping over some users?
I have a dummy user account (ID: 260)

I have often noticed that when I send out e-mails (2500 members), my "Dummy Account" does not receive them. It is NOT in the junk e-mail filter. I have even tried using a different e-mail address.

My Dummy User account is set up as a regular forum member. My admin account (ID: 1) gets the e-mails every time. My dummy account will actually get the mass e-mail maybe 1 time in 8 e-mails. What is happening to the other 7?

I am concerned that maybe other "real members" are not getting the e-mails as well. There is no way for me to know who didn't receive it.

Has anyone else ever noticed or reported this?

Paul M 01-19-2010 07:08 PM

This neither knows or cares who e-mails are addressed to, it cannot skip users.

yoyoman 01-19-2010 07:35 PM

Quote:

Originally Posted by Paul M (Post 1960101)
Sounds like your cron system is not functioning correctly, either its broke, or you dont have enough real visitors to keep it going. When you say 18 users, are they spiders ? - as they will not trigger the cron system.

Hi. Guess you are right. I got it working yesterday. And you know how?!!
This is just ridiculous!
Quote about CRON jobs from here: http://www.vbulletin.com/forum/showt...etin-cron-jobs
Quote:

The tasks take the form of a 1 x 1 transparent gif image loading on the page. So the page should still load, but it will show as continuing to load until the image / task finishes.
So the Cron jobs have something to do with the 1x1 Spacer.gif, which is loaded to your forum via the header template. And the funny thing is that I replaced this gif with a Christmas hat for the holidays. When I removed the Christmas hat your hack started working.
Very weird. Any comments on this issue?

BTW: I Suggest you add info about the spacer.gif into your manual, so people, who use custom styles check that it's in place. It's kinda impossible to think of it yourself if don't know beforehand.

Paul M 01-19-2010 07:38 PM

I do not work for IB/Jelsoft/vBulletin, I can neither comment on the cron system or have any input to the vbulletin manual.

yoyoman 01-19-2010 07:41 PM

Quote:

Originally Posted by Griffoneur (Post 1960116)
Skipping over some users?
I have a dummy user account (ID: 260)

I have often noticed that when I send out e-mails (2500 members), my "Dummy Account" does not receive them. It is NOT in the junk e-mail filter. I have even tried using a different e-mail address.

...

Has anyone else ever noticed or reported this?

Quote:

Originally Posted by Paul M (Post 1960494)
This neither knows or cares who e-mails are addressed to, it cannot skip users.

Actually, I can't agree here, Paul.
I understand, that theoretically, your mod doesn't care what type of user it is mailing, but...
I have three dummy accounts. Before your mod I tested all of them by sending single e-mails. All ok. But I mailed an informer yesterday to all the users and only one of my dummy accounts recieved it (and my admin account). The other two - didn't.
I have a 300/hour qouta, so your parameter was set to 40 - that's 240/hour. So this is ok.
Plus, I checked the server mailbox - no info on undelivered mail to the dummies.

So, what could be the problem here? Can you check, plz.

Paul M 01-19-2010 08:03 PM

Quote:

Originally Posted by yoyoman (Post 1960524)
Actually, I can't agree here, Paul.
I understand, that theoretically, your mod doesn't care what type of user it is mailing, but...

Well you can disagree if you want, but it wont change the facts. :) This has no bearing on who mail is sent to. Perhaps you are not clear on how this works - what it does is run the vBulletin mail processing code every 10 minutes instead of every page load. That code is standard (untouched) vbulletin code.

Quote:

Originally Posted by yoyoman (Post 1960524)
So, what could be the problem here? Can you check, plz.

There is nothing I can check, as I said, this mod does not do the mail processing, vbulletin does that, all this does is change how often it runs.

newmomsforum 01-21-2010 07:28 AM

Great Mod , works well. Thanks Paul :)

viper357 01-31-2010 11:43 AM

Quick question Paul, if you don't mind.

I have just upgraded from vb 3.6.12 to vb 3.8.4, I had both yours and antivirus's hacks installed on my 3.6.12 board. Now that I have upgraded please advise if these will be the correct steps to follow for your hack?

1. Uninstall antivurs hack
2. Install current version of your hack without uninstalling the old version?

Thanks.

Paul M 01-31-2010 12:14 PM

I would uninstall both, then install this.

viper357 01-31-2010 12:24 PM

OK, thanks. :)

yoyoman 02-07-2010 10:00 PM

Quote:

Originally Posted by Paul M (Post 1900503)
TRUNCATE Mailqueue ;

Hi everybody!
Today I had a problem - accidentally sent the wrong e-mail to all users. Needed to cancel it.
I recommend 3 steps in such situations:
1. admincp->scheduled tasks->uncheck mailqueue
2. admincp->sql query->type in: TRUNCATE TABLE mailqueue;
3. admincp->scheduled tasks->switch mailqueue back on

See you!

jet rex 02-10-2010 06:31 AM

Emails - is a biggest problem in my server.
Thanks !

Log on 02-13-2010 04:39 AM

I couldn't adjusete it to run every min... I don't know whats going on ?

would you tell me please how I can adjuste it

Paul M 02-13-2010 10:49 AM

Why do you want to run it every minute ?

Log on 02-14-2010 04:23 AM

Quote:

Originally Posted by Paul M (Post 1981301)
Why do you want to run it every minute ?

coz I want to send from the Q every min 14 messages...

coz my hosting ruls is

1- only 35 recipients per message.
2- only 750 messages per hour.

how I can adjuset it ?!

Please help me


Reagrds

Paul M 02-14-2010 02:12 PM

Edit the cron to run every minute (* in all the time fields).

krimesis 02-14-2010 09:50 PM

Perhaps I misread the whole post but need to send emails to all users?
I tried to load everything and the only difference I noticed was on the email options:
Code:

E-Mail Send Delay
The number of seconds delay before sending each e-mail. Note that values greater than 9 seconds will be ignored.

:o

Paul M 02-14-2010 10:02 PM

Im a bit confused, what is your question exactly ?

krimesis 02-14-2010 10:09 PM

I thought to solve the problem I have in sending mass emails to users, because the new server takes a long to send 20,000 emails while in the old party in 45 minutes.

Aeolian 02-15-2010 12:33 AM

possible to make it to work with vb4?
cheers!

final kaoss 02-15-2010 03:50 AM

It seems it isn't handling the daily & weekly digest or is it?

1897 Weekly Digest 00:47, 15th Feb 2010 Weekly Digest Sent
1896 Daily Digest 00:45, 15th Feb 2010 Daily Digest Sent
1895 Process Mail Queue for vBulletin 3.7 00:23, 15th Feb 2010 Processed Mail Queue

Paul M 02-15-2010 08:34 AM

Quote:

Originally Posted by krimesis (Post 1982500)
I thought to solve the problem I have in sending mass emails to users, because the new server takes a long to send 20,000 emails while in the old party in 45 minutes.

Sorry but you still dont seem to be actually asking a question.

Quote:

Originally Posted by Aeolian (Post 1982580)
possible to make it to work with vb4?
cheers!

If you use the vb4 version, then yes.

Quote:

Originally Posted by extreme-gaming (Post 1982653)
It seems it isn't handling the daily & weekly digest or is it?

1897 Weekly Digest 00:47, 15th Feb 2010 Weekly Digest Sent
1896 Daily Digest 00:45, 15th Feb 2010 Daily Digest Sent
1895 Process Mail Queue for vBulletin 3.7 00:23, 15th Feb 2010 Processed Mail Queue

What do you mean by "not handling" ? - this has no direct link with Digest cron jobs.

krimesis 02-15-2010 09:53 AM

Paul
In practice I do not solve the problem I have in my server slow email delivery?
Then the general usefulness of the product is something that you may have misunderstood.
Thanks.

Paul M 02-15-2010 10:49 AM

This product is not about the speed your server delivers e-mail, and in fact, by its very nature, it will slow down the rate at which e-mail is sent, not speed it up. I have no idea what the second part of your message is supposed to mean, but I do not misunderstand my own mods. :)

final kaoss 02-15-2010 10:53 AM

Can you add support for the Digest jobs then?

krimesis 02-15-2010 11:23 AM

Quote:

Originally Posted by Paul M (Post 1982838)
This product is not about the speed your server delivers e-mail, and in fact, by its very nature, it will slow down the rate at which e-mail is sent, not speed it up. I have no idea what the second part of your message is supposed to mean, but I do not misunderstand my own mods. :)

Ok
Thanks

Paul M 02-15-2010 12:44 PM

Quote:

Originally Posted by extreme-gaming (Post 1982841)
Can you add support for the Digest jobs then?

Please explain what you mean by this.


All times are GMT. The time now is 05:17 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.01448 seconds
  • Memory Usage 1,834KB
  • 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
  • (18)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
  • (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