![]() |
Thanks Paul, I will be trying this out tomorrow for sure. Cheers!
edit: this is used with the built in vb email manager right? |
I am getting the error:
Quote:
Code:
// exec_mail_queue(); // Paul M - Cron Mail Queue Hack // Code:
exec_mail_queue(); |
and your version of vbulletin 4.x is..?
|
Quote:
|
Yeah I am baffled too. I am editing everything in notepad.
|
e-mail me the edited file.
|
Quote:
|
Great mod. Should be default in VB ..
Suggestions for improvement: buton to purge queue in case you found someting wrong and want to resend them. Frustration with my server 100 mails/ hour gii |
Hi;
Can we see how many e-mail has been sent? and to whom ( username - e-mail or user id ) i can show below information. But i think this is not enogh to know the e-mail is sent to all of the user or not 3066 Process Mail Queue 21:06, 1st Nov 2010 Processed Mail Queue |
No, the number sent is not logged.
|
my hosts allows 1500/hour, i've set 210/batch, is it ok?
Use mailqueue system - Yes/Yes with locking? i kept yes as of now.. I've 40,000+ users.. anything else i need to edit in settings or default is fine? |
well you can manually adjust how often the queue sends and how many it sends per batch.
So if you have 1500...say you need to save like 250/hr for other emails your board sends out, so this means you can send 1250/hr without going over your limit. If you wanted large batches you could send only like 250 every 15min or do small batches of 20 every 3min. Just as an example...I didn't actually figure the math out on those :p |
Does this work with Admincp -> Users -> Send email to users ?
|
As it says ;
Quote:
|
Hi Paul,
Will test this out... Thanks. Would be great if in the future you also could add feature that 1x time per week and email is send to all users.. or per maybe 2x weeks, where in the email, we can add recent posts added, most popular topics of last month etc etc.. This way we can keep the users updated on all items :). Maybe also... the ability to add holidays into the system and send out pre arranged emails like on Christmas to the users with a particular text that has been set before. :) Thanks. |
Paul,
Is it a "set it and forget it" setting? I mean, Is there anything I need to do after I choose "Users > Send Email To users", write the subject, email body and click on Submit? |
Does this work as well for forum subscription notifications?
|
If they use the vb e-mail queue then yes.
|
i edited the functions file exactly as stated (not the functions exec_mail_queue();, just exec_mail_queue();) to
// exec_mail_queue(); // Paul M - Cron Mail Queue Hack // and I get the functions.php syntax error. The line exec_mail_queue is in there twice, once with functions before, once without. I tried changing both, and tried changing just the one with function before it, and tried just with the one that doesn't have function before it. All combos cause the syntax error. When I change the line back, the error goes away. vbulletin 4.1.1 any ideas Paul? did something in the latest version "break" your modification? |
Nothing has changed in 4.1.1, so you must be making some kind of mistake, or somehow corrupting your file.
JFYI, the line is near the end of the file (i.e. not the function definition). |
Yes the one towards the end is the one I thought. I tried it probably six times even using ctrl h to find and replace indentically with the install instructions, and tried using wordpad, notepad, and my webhosts file editor. Changing the admincp > email.php in the same manner (ctrl h) worked perfectly. I used this mod great on vb3 and had no trouble editing the files.
screenshot http://img8.imageshack.us/img8/7910/capturelvy.png Ill give it a go again in the AM |
Im afraid imageshack is blocked where I am, I'll try and look tonight (uk).
|
Updating to vbulletin 4.1.2 PL1, let's see if it still works with that version
|
After i updated to vb 4.1.2, this mod seems stopped working..
I've sent emails via admincp twice (to 35,000+ users with 210 per batch option) but it was sending email to all users directly without sending in queue..in admincp it was 2000 at once.. tell me wht to do to make it work again? |
Did you re-do the file edits after you upgraded ?
|
Quote:
I didn't get u. I didn't do anything with ur mod after vb update & it was working before. Today again updated from vb 4.1.2 to vb 4.1.3 |
Quote:
Quote:
|
Quote:
or it'll work now when i send email.. |
Or simply delete them from the package if they're unchanged. (which they usually post in announcements which files were changed) :D
Quote:
|
made the two edits, hopefully it works with 4.1.4
|
Hi,
Thanks for this goog Hook, I have "50.000 users" with "35.000 able emails" for mail sending & I need to send mail to all 35.000 able emails every week, my "Server Rules" for send mail system is "20 send per 1 minute + 3 minutes stop", so Please help me for best setting in mail option, Notice: I Installed your Hook Notice: my vBulletin version is 4.1.4 Thanks. |
There isnt any way you can do a "send 20 and then wait 3 minutes".
The closest you can get is use the current default of every 10 minutes, and set the limit to 20. Since this will send 120 per hour, you are never going to be able to send 35,000 per week as 120/hour would take almost two weeks to process that many e-mails. You need a less restrictive host. |
Quote:
- my "Mail Setting" now set on "Number of Emails to Send Per Batch: 80" & "E-Mail Send Delay: 0" , Is It ok or Cound I change them ? |
That would take 3 days. It would also break your hosts restrictions.
|
If my server accepted your setting, Need I change "Number of Emails to Send Per Batch: 80" & "E-Mail Send Delay: 0" ?
|
Yes.
|
Quote:
Tnx. |
What ?? Im lost now.
You canot do what you asked originally. The settings you mentioned would send them in three days, but break your hosts restrictions. After that I dont get what you are asking anymore. |
Paul, first off- congrats on the new (newish, at least- I just read the announcement @ vbulletin.com) gig with the VB folks..
Do you know a way to include the activation e-mails into the mailqueue? I want to send a reminder activation e-mail to all my users who haven't activated yet, but don't want to violate my Host's TOS- Any way I can accomplish this? Thanks in advance |
Actually, If I just "manually" compose an e-mail through the user-->send e-mail to user system and send it to the primary usergoup of "Users Awaiting Email Confirmation" With $activateid and $activatelink in the content of e-mail, Then it would have nearly the same effect and honor the cron-based mailqueue, right?
|
All times are GMT. The time now is 01:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|