vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Send Mass Emails Using the Mailqueue System (https://vborg.vbsupport.ru/showthread.php?t=139779)

Abe1 02-17-2007 10:00 PM

Send Mass Emails Using the Mailqueue System
 
Send Mass Emails Using the Mailqueue System 1.0


I recently changed where I send emails for my forum from. I had been using by server and now switched to an outside place. I found that sending a mass email would take FOREVER since it would take a few seconds per email it had to send out.

I had my vb setting of "Use Mailqueue System" set to 'Yes' but I realized it was NOT using the queue.

I found the way to enable the queue and sending mass emails takes me just a few seconds now! (This hack makes sending emails from your own server much faster also.)

This hack enables the vb queue only if you have 'Use Mailqueue System' turned on. Sending mass emails will take you a few seconds instead of minutes of hours!

Installation:

Open file 'admincp/email.php'.

Search for:
PHP Code:

vbmail($user['email'], $vbulletin->GPC['subject'], $sendmessagetrue$vbulletin->GPC['from']); 


CHANGE it to:
PHP Code:

vbmail($user['email'], $vbulletin->GPC['subject'], $sendmessagefalse$vbulletin->GPC['from']); 

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

maroceve 02-18-2007 10:40 PM

it would be great if we could send an html file ...to be sent tru the queue manager...

obmob 02-18-2007 10:55 PM

Sounds interesting, thanks.

projectego 02-18-2007 11:02 PM

This could be just what I was looking for... thanks, Abe1! ;)

ntock 02-19-2007 04:05 PM

Not sure how this is different from? Would def like to know as it seems easier :D

https://vborg.vbsupport.ru/showthread.php?t=133844

Many thanks in advance :)

Abe1 02-19-2007 05:24 PM

Quote:

Originally Posted by ntock (Post 1186118)
Not sure how this is different from? Would def like to know as it seems easier :D

https://vborg.vbsupport.ru/showthread.php?t=133844

Many thanks in advance :)

Didn't see that one but there are may diffs I think. I took a quick look only. That seems to use a cron system rather then the regular queue. If you have a lot of members on your site at once, then my hack would send emails much faster. Also, if you have very few people on your site, his may slow up.

He will only send 10 a min. and you need users to trigger the min. By me, you need the users to trigger but it goes for every trigger, not just once a min.

bchertov 02-19-2007 07:02 PM

Quote:

Originally Posted by maroceve (Post 1185603)
it would be great if we could send an html file ...to be sent tru the queue manager...

See this hack (Pluggin)

https://vborg.vbsupport.ru/showthread.php?t=137593

Ahsin1 02-20-2007 03:34 AM

Nice hack

It use to take 30 Minz to send emails to 10k users wid this hack it took not even 2 minz

Thanks

Endurer 02-20-2007 07:02 AM

Aweome.. I really am thankful to you for making my life easier.

Kihon Kata 02-20-2007 11:19 AM

Hi Abe,

So, let me ask, one cannot send HTML formatted emails through this? I have a custom mod that allows me to send HTML emails through the vB system. LMK if this would work.

Abe1 02-20-2007 11:52 AM

Quote:

Originally Posted by Kihon Kata (Post 1186638)
Hi Abe,

So, let me ask, one cannot send HTML formatted emails through this? I have a custom mod that allows me to send HTML emails through the vB system. LMK if this would work.

I have no idea if it would work with it or not.

Mecho 02-21-2007 09:56 PM

i installed this but when i want to send emails i get this error :

Quote:

Parse error: syntax error, unexpected '}' in /public_html/forum/admincp/email.php on line 217
any idea ?

Abe1 02-21-2007 11:14 PM

Quote:

Originally Posted by Mecho (Post 1187878)
i installed this but when i want to send emails i get this error :



any idea ?

Make sure you did the edit 100% correct. You may have added or deleted something extra.

phonexpo 02-21-2007 11:45 PM

Abe1, I've just installed it, thank you. I'll be testing it soon. Should I have to modify any of my settings in my admincp ?

Abe1 02-22-2007 02:07 AM

Quote:

Originally Posted by phonexpo (Post 1187951)
Abe1, I've just installed it, thank you. I'll be testing it soon. Should I have to modify any of my settings in my admincp ?

Just make sure you use the setting on how to sends emails is set to use the queue.

Endurer 02-22-2007 01:58 PM

Quote:

Originally Posted by Kihon Kata (Post 1186638)
Hi Abe,

So, let me ask, one cannot send HTML formatted emails through this? I have a custom mod that allows me to send HTML emails through the vB system. LMK if this would work.

Yes it works perfectly fine.

MentaL 02-23-2007 03:30 PM

Why aint this default in vb?

Abe1 02-23-2007 05:04 PM

Quote:

Originally Posted by MentaL (Post 1189130)
Why aint this default in vb?

No clue.

Or maybe, because they dont think you want mass email clogging the queue.

phonexpo 02-26-2007 11:03 PM

WOW, used it today, e-mail sent to over 2000 members in about 2 seconds, thank you very much :)

PoetJA-1975 02-27-2007 08:12 AM

Very nice that this is compatible with sending html emails via AdminCP! Great share!
Now I have a stoopid question: My vB isn't set to use the Mailqueue System --- Do I need this set to "Yes" before this hack works?

Anyway - Thanx = Very useful mod! = INSTALLED

Jacquii.

Abe1 02-27-2007 11:55 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1191761)
Very nice that this is compatible with sending html emails via AdminCP! Great share!
Now I have a stoopid question: My vB isn't set to use the Mailqueue System --- Do I need this set to "Yes" before this hack works?

Anyway - Thanx = Very useful mod! = INSTALLED

Jacquii.

Yes.

bchertov 02-27-2007 02:32 PM

Quote:

Originally Posted by maroceve (Post 1185603)
it would be great if we could send an html file ...to be sent tru the queue manager...

See my hack for this.

PoetJA-1975 02-27-2007 04:28 PM

Thanx ABE ;)

Jacquii.

DieselMinded 05-23-2007 02:48 AM

Installed Thanks!

And what should i set

Quote:

Email to send at once:
To????

Abe1 05-25-2007 04:24 AM

Quote:

Originally Posted by DiesellMinded (Post 1253059)
Installed Thanks!

And what should i set



To????

Anything you want. It will go really quick so you can send like 1000-5000. This setting would be to make the emails and added them to the mail queue.

Endurer 05-25-2007 05:58 AM

Just wanted to let everyone know that this works with vb 3.6.7. PL1 as well.

webmaster74 06-11-2007 01:34 PM

Abe1,

on my Linux RedHat9, vb 3.6.7 PL1, I installed the mod and am attaching a screen capture of the Mailqueue YES radion button selected, and a copy of my admincp/email.php

:confused: did I miss something?

When I tried to send an email to my members, the very normal process of mail sending to 500 members at a time started as before..... is this expected ?

Abe1 06-11-2007 10:58 PM

Quote:

Originally Posted by webmaster74 (Post 1266258)
Abe1,

on my Linux RedHat9, vb 3.6.7 PL1, I installed the mod and am attaching a screen capture of the Mailqueue YES radion button selected, and a copy of my admincp/email.php

:confused: did I miss something?

When I tried to send an email to my members, the very normal process of mail sending to 500 members at a time started as before..... is this expected ?

I dont know. Do you know if it is going into the database or not?

kollam003 06-17-2007 04:23 PM

the emails goes in a second but takes more time to be delivered

DieselMinded 07-05-2007 03:09 AM

Could this Get messed up and cause me not to receive my emails when a new paid subscription is received , I have not got an email for the last 3 subscribers ?

DM

Abe1 07-06-2007 02:06 AM

Quote:

Originally Posted by DiesellMinded (Post 1283142)
Could this Get messed up and cause me not to receive my emails when a new paid subscription is received , I have not got an email for the last 3 subscribers ?

DM

This has nothing to do with paid subscriptions.

DieselMinded 07-06-2007 02:40 AM

OK ,

BTW Im using this Hack and sending emails to users is still hit and miss , I have to set it to 100 at a time , then keep hitting next to show the next 100 then a few times it will just load and load then go to a Bad Response from server , Then i hit back page and then next again and it usually goes ,,,

Sending the Mass emails is a PITA , I had hoped this would help me but the issues are the exact same . I cant see where this mod has done anything at all

*upsetwithmyemailsystem

DM

Abe1 07-06-2007 02:42 AM

Quote:

Originally Posted by DiesellMinded (Post 1284043)
OK ,

BTW Im using this Hack and sending emails to users is still hit and miss , I have to set it to 100 at a time , then keep hitting next to show the next 100 then a few times it will just load and load then go to a Bad Response from server , Then i hit back page and then next again and it usually goes ,,,

Sending the Mass emails is a PITA , I had hoped this would help me but the issues are the exact same . I cant see where this mod has done anything at all

*upsetwithmyemailsystem

DM

Do you have the setting to use the mail queue system right now?

DieselMinded 07-06-2007 04:29 AM

Quote:

When enabled, subscription emails generated by your site will be processed in batches to lessen the load on your server. Account activation, lost passwords and other vital emails are sent instantly regardless of this setting. If your site has low traffic, subscription emails may be delayed.

If you have a large site, you may wish to enable locking. This prevents a rare situation where the same email is sent multiple times.
Set To Yes with no Locking

Quote:

vBulletin includes a mail queuing system to prevent bottlenecks when sending lots of email. Use this option to specify how many emails will be sent per batch.
Set to 10

Quote:

Set this option to yes to use an SMTP server rather than the internal PHP mail() function.
NO

What do i need to do to get this to work right?

Abe1 07-06-2007 05:55 PM

That first option should make this thing work.

Can you verify in your database if the emails are actually going into queue.

Concha 07-09-2007 10:33 AM

thanks


Installed OK ;)

DieselMinded 07-09-2007 03:40 PM

Quote:

Can you verify in your database if the emails are actually going into queue.
How Can i manage this? I have a shared Server @ Network Solutions

Abe1 07-09-2007 04:15 PM

Quote:

Originally Posted by DiesellMinded (Post 1286798)
How Can i manage this? I have a shared Server @ Network Solutions

The the mail queue table in phpmyadmin.

DieselMinded 07-09-2007 04:32 PM

OK ill check that out before and after I send them

I was talking with my host and they said I cannot send more than 100 EMails at the same time from the server or more than 1000 Per 24hours

Maybe this has something to do with my issues here

LanciaStratos 07-18-2007 10:06 PM

Unfortunately, I can't really say that I recommend this. I'm on a dual Xeon dedicated server with a very large forum (around 98,000 members, 66,700 of which have opted to receive my messages), and this brought my server to a crawl. Server loads spiked to 120+ only seconds after sending a few thousand messages. This may work great for smaller boards, but it looks like us larger forum owners are still going to be left to find other email solutions on our own.


All times are GMT. The time now is 04:27 AM.

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.01730 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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