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)

Limode 07-21-2009 05:43 AM

Total active user: 132,507
There are currently 131,004 unsent emails remaining in the mail queue. After Send Email to Users 8 hours :(

greenspan 07-23-2009 06:28 AM

Very useful indeed. Thanks so much!

Paul M 07-25-2009 04:08 PM

Quote:

Originally Posted by Limode (Post 1852675)
Total active user: 132,507
There are currently 131,004 unsent emails remaining in the mail queue. After Send Email to Users 8 hours :(

130,000+ emails is an insane amount to send, and will take an extremely long time unless you use some high settings.

Griffoneur 09-08-2009 03:55 PM

I am a dumbass! I fixed my problem.

demojames 09-15-2009 01:21 PM

Thanks for this!

I just moved to a new hosting company and their limit was only 150 per hour, I got them to increase 750, but still way under my newsletter subscribers.

Will be testing it out today. Thanks again

UPDATED: tested and this hack works perfectly! All my subscribers got their newsletters and they're all happy.

passwords 09-20-2009 05:21 AM

after importing the product, where can i edit the settings ?
im not able to find them on my admin cp, should i edit the product file befor uploading it or what ?

Paul M 09-20-2009 10:15 AM

What setting(s) are you referring to ?

passwords 09-20-2009 01:12 PM

Hello Paul,
Thanx for replying, please i need to know a few things:
1- where can i set the number of email sent per hr, is it only by puting the number in the e-mail settings or i need to put it in an other place.
2- how can i remove the e-mails from the queue
thank you

Paul M 09-20-2009 04:08 PM

1. Please read the main (first) post, the settings are explained there.

2. You cant, unless you want to run direct sql on the relevant table.

vwdforum 10-11-2009 08:09 PM

Can anyone explain how to delete unsent emails, as I've sent to the wrong usergroup.

Paul M 10-12-2009 12:15 PM

You cannot, unless you use something like phpadmin to actually delete the records from the email queue table.

vwdforum 10-15-2009 07:19 PM

Quote:

Originally Posted by Paul M (Post 1898520)
You cannot, unless you use something like phpadmin to actually delete the records from the email queue table.

Can you cover how to do this via mysql please :)

Paul M 10-15-2009 07:34 PM

TRUNCATE Mailqueue ;

vitrag24 10-19-2009 06:13 PM

can i use this on my vb 3.7.1?

I'm asking as it's written in 3.7.x version that it's not supported.

Paul M 10-19-2009 08:25 PM

Installing a 3.8 version on 3.7 would not be supported either.

vitrag24 10-20-2009 03:51 PM

Quote:

Originally Posted by Paul M (Post 1902306)
Installing a 3.8 version on 3.7 would not be supported either.

I've vb 3.7.1 and want this mod on my board.
May i know why 3.7.x version isnt supported?
any problems with mod?

vwdforum 10-20-2009 06:10 PM

for 3.71 try this version https://vborg.vbsupport.ru/showthread.php?t=167274


PROBLEM

Hi, I've come across a problem. I have this installed but when I check my schedule logs, the cron does not appear to have been run. Its set to run every 10 minutes.

Even when I click "run now" from the schedule task manager menu in admincp, it goes to this screen "Process Mail Queue for vBulletin 3.7" but gets stuck there.

Any advice please?

My email unesent queue is growing as none are been sent. Any help or advice would be greatly appreciated thanks Mally

Paul M 10-20-2009 09:16 PM

Quote:

Originally Posted by vitrag24 (Post 1902660)
I've vb 3.7.1 and want this mod on my board.
May i know why 3.7.x version isnt supported?
any problems with mod?

It isnt supported because I only support the 3.8 versions of my mods (as I only run 3.8).

There are no known issues with the 3.7 version.

Paul M 10-20-2009 09:22 PM

Quote:

Originally Posted by vwdforum (Post 1902753)
Even when I click "run now" from the schedule task manager menu in admincp, it goes to this screen "Process Mail Queue for vBulletin 3.7" but gets stuck there.

If you dont get an error message then there isnt much i can tell you - it sounds like your server is unable to send mail. Have you tried this in the diagnostics ?

JFYI, Im about to go on holiday, so I may not actually see your reply until the end of next week.

jkcerda 10-23-2009 03:16 PM

tagged

vwdforum 10-24-2009 01:49 PM

Quote:

Originally Posted by Paul M (Post 1902857)
If you dont get an error message then there isnt much i can tell you - it sounds like your server is unable to send mail. Have you tried this in the diagnostics ?

JFYI, Im about to go on holiday, so I may not actually see your reply until the end of next week.

Hope you enjoy your holidays!

I'm pulling my hair out now, I am able to send emails via the diagnostic test email, also, the standard emails are being sent out (like password reminder, new member etc)

Any suggestions please, your help is appreciated

alla n1015 10-26-2009 05:42 PM

Just wondering if there is any way to test this module?
I see that there is a 'test' selection on the send email to user, but no ideas if that tests this module?

Allan

BOWZONE 10-27-2009 12:50 PM

Great mod! Been using this since last year on 3.7...Upgraded to 3.8 and forgot to upgrade to the newest version...OOPS! Hope my ISP doesn't catch my email blast of many thousands of emails this morning.

**INSTALLED!!!**...and upgraded...

ChopSuey 10-27-2009 03:34 PM

So awesome this works fine =] Thanks
*installed /nominated

alla n1015 11-07-2009 03:55 PM

Any Ideas on how to test this? If I select a thousand members, and hit send, I dont want to actually send mail to 1000 members, before making sure this works.

Paul M 11-07-2009 07:20 PM

Quote:

Originally Posted by vwdforum (Post 1905573)
Any suggestions please, your help is appreciated

Sorry, there is nothing else i can suggest, it would need server access to start tracing what your server is (or isnt) doing.

len backus 11-07-2009 07:56 PM

Hi Paul,

I've been getting frequent database errors that reference "mailqueue":
Quote:

Database error in vBulletin 3.8.4:

Invalid SQL:

UPDATE datastore SET
data = data - 49,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Saturday, November 7th 2009 @ 07:40:22 AM
Error Date : Saturday, November 7th 2009 @ 07:40:57 AM
Script : http://www.longrangehunting.com/foru...and=1257597618
Referrer : http://www.longrangehunting.com/forums/
IP Address : 173.73.121.35
Username : Unregistered
Classname : vB_Database
MySQL Version :
Quote:

Database error in vBulletin 3.8.4:

Invalid SQL:

UPDATE datastore SET
data = data - 5,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Saturday, November 7th 2009 @ 09:00:24 AM
Error Date : Saturday, November 7th 2009 @ 09:00:45 AM
Script : http://www.longrangehunting.com/foru...hp?rand=147496
Referrer : http://www.longrangehunting.com/arti...enance-2-3.php
IP Address : 98.125.108.202
Username : Unregistered
Classname : vB_Database
MySQL Version :
These are just 2 that came in this morning. There have been at least 2 each day. I submitted a support ticket to my server techs (ServInt VPS) and it was suggested that it isn't a MySQL server error:
Quote:

This seems to be an SQL error as opposed to a MySQL server error. Check the script or the SQL query you're running. Also, try to run a similar query manually to verify if this is a SQL error.
I may be able to run a query with more guidance. I thought I'd check with you first and if there is a specific query I should run, you could guide me.

Thanks.

Paul M 11-07-2009 08:26 PM

Its very much a MySQL error - MySQL server has gone away is a bit of a give away ;)

It means that the mysql connection has closed, almost certainly because its timed out - suggesting that MYSQL on your server has a very low timeout setting (Wait Timeout).

len backus 11-07-2009 08:53 PM

That's what I thought and discussed that with them several days ago. Different tech. I'll ask for the other techie and see if it can be resolved. Thanks for your response.

alla n1015 11-07-2009 10:38 PM

For testing I have modified email.php to put the To address to a dedicated account
and modified the message body to add the address it would have gone to.
This way I can run some samples and validate everything, the timings etc.

Call me stupid but i cant figure out hwo to drop the cron timing from once every 10m to once every 1m ?

Help?

Update - Never mind, found it under Schedule Task Manager

Meeper 11-12-2009 11:48 AM

Solved my issue.......I had the batch up to high.

Awesome Mod.

Thankyou

Paul M 11-12-2009 01:22 PM

vbulletin uses the mailqueue for many things (like subscriptions) not just one off mailouts.

demojames 11-16-2009 05:25 AM

Deleted

Was having issues, but it's working perfectly on a 3.8.4 PL1

tehPARADOX 11-16-2009 07:37 PM

EDIT: NVM had to truncate the mailqueue

Pumpo 11-17-2009 04:13 AM

Love this plugin. Maybe im missing something but i tired playing around with it and had no luck.

If i wanted to send 250 emails per hour untill all the users have been emailed, what setting will i need to use?

Thanks in advance

Paul M 11-17-2009 02:59 PM

50 per batch would be 300 an hour, 40 would be 240.

Reef Man 11-17-2009 03:18 PM

Hi Paul,
I was trying to install it, but I am not finding the text to place the commands you place on your txt file to make it work.

I have 3.8.4 PL1

Can you give me a hand on know where do I need to place the code on the files?

Thanks.

Reef Man 11-17-2009 03:46 PM

I think I got it.
Let you know how it works.

Sworm 11-22-2009 10:06 PM

This mod work in vb4 beta 4 too?

Sworm 11-22-2009 10:20 PM

Tried now on vb4 beta 4 seems that work :)
Quote:

emailing ok


All times are GMT. The time now is 12:27 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.01761 seconds
  • Memory Usage 1,818KB
  • 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
  • (11)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