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)

Sworm 11-23-2009 10:28 AM

No, don't work, the email remain in the mail queue, the're'sany adjustment for work with vb4?

vitrag24 11-26-2009 12:43 PM

If i want to send upto 1000 email per hour, then what to do?

If i send emails to all my users via admincp, they will be queued too or not?

Thanks.

Paul M 11-26-2009 01:31 PM

Read the information provided. :)

vitrag24 11-26-2009 05:47 PM

Quote:

Originally Posted by Paul M (Post 1921186)
Read the information provided. :)

I've read. Thanks.

I wanted to ask how many emails will be sent hourly? in admincp it's given to set per batch?

and will it delay sending emails if there are not more than allowed emails in an hour or send as before i installed this mod?

Thanks for gr8 mod.

vitrag24 11-27-2009 02:35 PM

one mroe question:

I've just send announcement via email to all my users [37,000+] using 200 per batch.

i want to know how can i know if and when all users have been emaied?

Thanks.

Paul M 11-27-2009 03:23 PM

Again, read the main post. :)

Quote:

This modification includes the code by Antivirus that displays the current size of the mail queue.

tipu sulthan 11-27-2009 03:45 PM

what is the use of this mod???

vitrag24 11-27-2009 06:16 PM

Quote:

Originally Posted by Paul M (Post 1921668)
Again, read the main post. :)

sorry but i didnt get my answer. I've read thread twice.

I've 2 queries only.

1. After i send email from admincp, how can i know if all emails have been sent and when email to all users have been sent?

2. i've sent 200 per batch, it means 1200 per hour isnt it? just asking to confirm.
and 1200 per hour will be sent instantly and continously if i've set 0 in delay?

Thanks and sorry for inconvenience.

eatworksleepdie 12-04-2009 06:14 PM

It appears to be working perfectly! thank you sir!

I guess I will know for sure in a few if I get some hate mail from Lunarpages forever banning me from using email. haha.

eatworksleepdie 12-04-2009 06:17 PM

to add.. it took me a bit to figure out that the default was set to send the batches every 10 minutes.. and to just goo off of that.. every ten minutes send 50 messages = 300 emails per hour 60 messages in a batch every 10 minutes = 360 emails per hour etc.

very cool feature. thx again.

eatworksleepdie 12-04-2009 06:38 PM

say, I'm not having any luck finding the "Queue" to see where my email message is up to, where's the queue located at in ACP - VB 3.8.1?

Quads 12-05-2009 12:03 AM

The main ACP page when you log in. You'll see it there.

<removed>

1. Mod file(s) as stated in the Cron-Mail-Queue.txt
2. Backup orig. files. Upload edited to appropriate locations. Upload other file needed.
3. Install xml through ACP
4. Configure number of emails per hour:
ACP> VB Options> Email Options>
Find: Use Mailqueue System.
Change to Yes
Find: Number of Emails to Send Per Batch
Set to 50, 60, 70, etc.
**NOTE** Cron job runs every 10 minutes by default / when isntalled. So if you send 50 per batch, 6 times an hour, that would be 300 per hour.
To view the queue, log into your ACP, scroll down past the Notices, and you'll find:
Mailqueue Quick Stats
To view the cron job:
ACP> Scheduled Tasks> Scheduled Task Manager>
where you will find: "Process Mail Queue for vBulletin 3.7"
You can view the cron job, edit / disable, and or manually run the job by clicking the "Run Now" button.

Other than that, it's pretty straight forward.

Regards-
~Q

vitrag24 12-05-2009 10:27 AM

Quote:

Originally Posted by Quads (Post 1925515)
To view the queue, log into your ACP, scroll down past the Notices, and you'll find:
Mailqueue Quick Stats

Thanks a lot.

Atleast someone provided support to this mod.

I'm unable to see mailqueue quick stats past notices in admincp.

can u help to find?

Quads 12-05-2009 05:27 PM

Quote:

Originally Posted by vitrag24 (Post 1925666)
Thanks a lot.

Atleast someone provided support to this mod.

I'm unable to see mailqueue quick stats past notices in admincp.

can u help to find?

Not really sure what you're looking for.
Unless there are emails sitting in the queue, waiting to be sent by the cron job, then it should read: "The mail queue is currently empty."

Is there something else you are looking for? And it's entirely possible that there's something I'm not aware of, due to the expansive documentation on this mod. :o

Quads 12-05-2009 05:33 PM

You can see some other very basic information showing that the script ran by going here:
ACP> Statistics and Logs> Scheduled Task Log> select "Process Mail Queue" from the drop down, and it will give you the entries of the cron job running at its scheduled intervals.

vitrag24 12-07-2009 12:06 PM

Quote:

Originally Posted by Quads (Post 1925812)
Not really sure what you're looking for.
Unless there are emails sitting in the queue, waiting to be sent by the cron job, then it should read: "The mail queue is currently empty."

Is there something else you are looking for? And it's entirely possible that there's something I'm not aware of, due to the expansive documentation on this mod. :o

You've told that "To view the queue, log into your ACP, scroll down past the Notices, and you'll find: Mailqueue Quick Stats"

I'm unable to find that.

Paul M 12-07-2009 05:33 PM

The only way it would not appear is if you havent turned mail queuing on.

LilleMama 12-08-2009 07:34 AM

I wonder if its posible to modify it to start sending mails at night time ( when the server load are low )

vitrag24 12-08-2009 08:01 AM

Quote:

Originally Posted by Paul M (Post 1926885)
The only way it would not appear is if you havent turned mail queuing on.

I've enabled mailqueue and it's also showing in logs but not showing any option named mailqueue quick stats in admincp.

Log on 12-08-2009 08:19 AM

Great

Paul M 12-08-2009 09:31 AM

Quote:

Originally Posted by vitrag24 (Post 1927168)
I've enabled mailqueue and it's also showing in logs but not showing any option named mailqueue quick stats in admincp.

Then I have no idea. There is no reason for it not to appear.

need2fart 12-10-2009 02:58 AM

Very nice thank you. I like your hacks.

need2fart 12-15-2009 12:59 AM

Hey Paul does this disable reporting posts in vB?

When I received a vB Database error when a user tried reporting a post I received a problem.

So I tested it myself to see the error, here is what I got.


Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                        SELECT text, languageid, special
                        FROM phrase AS phrase
                        LEFT JOIN phrasetype USING (fieldname)
                        WHERE phrase.fieldname = 'frontredirect'
                                AND varname = 'reportthanks' AND languageid IN (-1, 0, 1);

MySQL Error  : MySQL server has gone away
Error Number  : 2006
Request Date  : Monday, December 14th 2009 @ 08:53:21 PM
Error Date    : Monday, December 14th 2009 @ 08:54:33 PM
Script        : http://ds-forums.info/report.php?do=sendemail
Referrer      : http://ds-forums.info/report.php?p=255051
IP Address    : *.*.*.*
Username      : Kyle
Classname    : vB_Database
MySQL Version :

Does this hack disable "report post" ?


Thanks!

Log on 12-15-2009 06:28 AM

I don't have mail queue stat in my c panal ?

what is the problem ?

Paul M 12-15-2009 11:48 AM

Quote:

Originally Posted by need2fart (Post 1930892)
Hey Paul does this disable reporting posts in vB?
.
.
Does this hack disable "report post" ?

No it doesnt.

Mysql gone away is a timeout error - I would guess you have a very low timeout value and are trying to send too many e-mails in one go.

Quote:

Originally Posted by Log on (Post 1930980)
I don't have mail queue stat in my c panal ?

what is the problem ?

No idea without access to your system.

need2fart 12-15-2009 05:50 PM

Quote:

Originally Posted by Paul M (Post 1931069)
No it doesnt.

Mysql gone away is a timeout error - I would guess you have a very low timeout value and are trying to send too many e-mails in one go.


No idea without access to your system.

Alright thanks I'll see if it can be fixed. =)

Log on 12-16-2009 03:48 AM

Quote:

Originally Posted by Paul M (Post 1931069)
No idea without access to your system.

what do you mean by accessing my system ??

the problem is clear

I don't have this

https://vborg.vbsupport.ru/attachmen...3&d=1234729167

Paul M 12-16-2009 08:51 AM

I know what your problem is, but without admin access to your system I have no idea why, nor anyway of finding out.

Log on 12-19-2009 07:25 AM

Quote:

Originally Posted by Paul M (Post 1931572)
I know what your problem is, but without admin access to your system I have no idea why, nor anyway of finding out.

Unfortunately .. my system in Arabic langauge

Log on 12-22-2009 08:43 AM

I solved the problem ...

now if the queue stacked and nothing goes out and the queue increased day by day .. how I can push the mails to go out of the queue?

regards

Paul M 12-22-2009 01:30 PM

You can manually run the cron in your acp as many times as you want.

TurkeySub 12-25-2009 02:36 PM

Very awesome!

Works like a charm!

Griffoneur 12-25-2009 03:37 PM

Will you be supporting v4.0?

I rely on your program for emailing users as I am limited to 400 emails per hour.

Paul M 12-25-2009 07:51 PM

Quote:

Originally Posted by Griffoneur (Post 1938035)
Will you be supporting v4.0?

Yes.

Griffoneur 12-26-2009 01:32 PM

Quote:

Originally Posted by Paul M (Post 1938162)
Yes.

That is great. E-mails are a BIG issue with many forums. Your plugin is probably one of the most used on my site.

Looking forward to its release.

Norman

the stig 12-28-2009 09:26 AM

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

Paul M 12-28-2009 01:37 PM

Quote:

Originally Posted by the stig (Post 1940207)
what do you think is going on?

I cannot possibly guess at what is happening on your site. :)

joe1989 12-28-2009 06:21 PM

Perhaps he is using 4.0?? The_stig... this mod is not compatible with 4.0 (yet), so if you are running 4.0, you need to disable this mod in the ACP --> Plugins and Products.

Regards,
Joe

the stig 12-29-2009 06:40 AM

Quote:

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

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 :(.

Quote:

Originally Posted by joe1989 (Post 1940693)
Perhaps he is using 4.0?? The_stig... this mod is not compatible with 4.0 (yet), so if you are running 4.0, you need to disable this mod in the ACP --> Plugins and Products.

Regards,
Joe

Hey joe, I have 3.8.4 version.

Paul M 12-29-2009 11:19 AM

Perhaps you need to check your e-mail system, send one from the ACP dianostics page.


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.01579 seconds
  • Memory Usage 1,828KB
  • 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