Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Poor Man's Bounced Email Handler Details »»
Poor Man's Bounced Email Handler
Version: 1.00, by rebelde rebelde is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.2.0 Rating:
Released: 08-07-2012 Last Update: Never Installs: 5
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

This modification has been replaced by the full Bounced Email Handler. Please use that one instead.


------------------------------------------------------------------------

What does the bounced email handler do?

It stops sending emails to addresses that are no longer valid. This helps keep your email from being marked as spam.

More technically:
  1. It collects bounced emails, counts them and marks user accounts as "do not send email".
  2. It stops sending "new post" notifications to those addresses.
What it does not do:
It does not stop sending any other emails such as:
- forum subscription updates
- Happy birthday messages
- PM notifications
- other important emails

Why is it a "Poor Man's" bounce handler?
Because this is just a hack. It blocks a lot of emails, but not all that should be blocked. Also, it just leaches off of DBTech's hard work in building a bounce handler as part of his vBMail mod. Still, it is better than nothing, and that is what I had before.

I hope to encourage somebody (like you!) or vBulletin to code something better. I just don't have time to do it myself.


To install:
  1. Install DBTech's vBMail. This is required!
  2. Set up an email address to handle bounces.
  3. Set your vBMail options similar to the ones in poor-mans-reply-all-installation-instructions.txt
  4. Install this plugin.
Done!

Please, somebody, create a real bounce handler!
The steps:
0. [s]Get DBTech's permission. If you can't get permission,[/s] rewrite their code.
1. Strip down and modify DBTech's excellent vBMail work to just what we need, see how it works and rewrite it. (Everything leading up to marking users in the user table as "do not email".)
2. Improve it to do a better job of deciding when to mark an email address as a bad. (With some types of responses, you don't need to wait for five bad emails.)
3. Find a way to stop sending other emails that shouldn't be sent such as forum subscription updates and birthday messages.
Can you do just one of these steps? Any help is appreciated.

Special thanks to DBTech for his work. What I did here is really very little. DBTech did the hard work.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-25-2013, 03:49 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attached.

This has been working very well for me on my forums for a number of months.

Documentation?
The normal stuff:
- upload the file
- import the product
- edit the "Bounced Email Handler" configuration options
- -These are mine:
Quote:
Alert PM Sender: 1
Bounce Count: 5
IMAP Host: imap.gmail.com
IMAP Port: 993
IMAP Mailbox: inbox
IMAP Second Mailbox: [Gmail]/Spam
IMAP Username: bounce@yourdomain.com
IMAP Password" ...
Use SSL: Yes
Max Fetched Messages: 25
- test it

The second email address is for Gmails SPAM folder, where a lot of these bounces end up.

Let me know if you have any questions or problems. I'd like to release it as a full mod. If you want to make improvements: cool, let me know. There are a few areas that could obviously be improved upon.

Cheers
Reply With Quote
  #13  
Old 03-12-2014, 01:17 AM
keyla31's Avatar
keyla31 keyla31 is offline
 
Join Date: Feb 2009
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelde View Post
Attached.

This has been working very well for me on my forums for a number of months.

Documentation?
The normal stuff:
- upload the file
- import the product
- edit the "Bounced Email Handler" configuration options
- -These are mine: - test it

The second email address is for Gmails SPAM folder, where a lot of these bounces end up.

Let me know if you have any questions or problems. I'd like to release it as a full mod. If you want to make improvements: cool, let me know. There are a few areas that could obviously be improved upon.

Cheers
Is this working on 4.2.2?
Reply With Quote
  #14  
Old 03-12-2014, 01:57 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by keyla31 View Post
Is this working on 4.2.2?
Yes, no problems.

Please let me know your feedback.
Reply With Quote
  #15  
Old 03-13-2014, 09:17 PM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be happy if you could send this to me also. Great idea for a mod.
Reply With Quote
  #16  
Old 03-13-2014, 09:25 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by astdirect View Post
I'd be happy if you could send this to me also. Great idea for a mod.
He already included it here.

https://vborg.vbsupport.ru/showpost....5&postcount=11
Reply With Quote
Благодарность от:
astdirect
  #17  
Old 03-24-2014, 04:20 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelde View Post
Attached.

This has been working very well for me on my forums for a number of months.

Documentation?
The normal stuff:
- upload the file
- import the product
- edit the "Bounced Email Handler" configuration options
- -These are mine: - test it

The second email address is for Gmails SPAM folder, where a lot of these bounces end up.

Let me know if you have any questions or problems. I'd like to release it as a full mod. If you want to make improvements: cool, let me know. There are a few areas that could obviously be improved upon.

Cheers
Can you explain how this works?
Reply With Quote
  #18  
Old 03-24-2014, 05:45 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does it work?

If I remember correctly:
1. Bounced emails are collected using a special email address.
2. Those emails are loaded into the database.
3. If there are more than 5(?) bounces from a certain email address, the user account is:
3a. no longer sent emails
3b. sent a PM explaining this and how to get the emails to get sent again.
4. There is a way for users to tell the system to still send the emails despite the number of bounces.
Reply With Quote
  #19  
Old 03-24-2014, 07:48 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I think i understand now. I was looking more to see how it does this, not what it does but I see now.

Is there any way to disable it from sending out private messages?

Thanks,
Rich

Some type of a log would be good also to see what it is actually doing.
Great though!
Reply With Quote
  #20  
Old 03-26-2014, 02:37 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Is there any way to disable it from sending out private messages?
Yes, edit the PHP code .

The PM notifications are actually quite useful. It is a bit annoying that it comes from the admin's account, but many people see the PM and change their email address to one that works.

I'll try to clean this up some and create a real add-on soon.
Reply With Quote
  #21  
Old 03-26-2014, 04:46 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelde View Post
Yes, edit the PHP code .

The PM notifications are actually quite useful. It is a bit annoying that it comes from the admin's account, but many people see the PM and change their email address to one that works.

I'll try to clean this up some and create a real add-on soon.
No problem, I will remove the pm.

My concern isn't that it comes from the admin. I just have a ton of bounced e-mails going back years and I do not want thousands of private messages going out at the same time.

This is great though! Thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:25 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.04931 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete