vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Poor Man's Bounced Email Handler (https://vborg.vbsupport.ru/showthread.php?t=286441)

rebelde 08-07-2012 10:00 PM

Poor Man's Bounced Email Handler
 
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.

rebelde 09-09-2012 03:19 PM

Do not install this mod until further notice.

I've discovered a problem that is leading to database errors, but I'm swamped with work and won't be able to investigate a solution for some time.

nacaruncr 09-10-2012 04:53 AM

easy man.... delete the attachment file ;)

oddmud 09-16-2012 02:31 PM

Quote:

Originally Posted by rebelde (Post 2364028)
Do not install this mod until further notice.

I've discovered a problem that is leading to database errors, but I'm swamped with work and won't be able to investigate a solution for some time.

Please figure out how to remove the user from the database as well. :)

webrats 11-27-2012 01:28 AM

hope this comes back

rebelde 11-28-2012 02:46 PM

I'm sorry. I wish I had time to work on this, but I don't.

hqarrse 12-28-2012 07:02 PM

I also did some work on exactly this task, also using DBTech's vbmail. The results is a very simple cron task that unsubscribes people. It could easily be copied to handle PM notifications, post reporting and so on:

http://www.dragonbyte-tech.com/f99/t...819/#post50838

I'm not claiming a great mod, but rather a quick hack that has been working for me fine for quite a while now. It would be good to see someone taking it or this mod forward.

David Copeland 10-26-2013 05:58 PM

Quote:

Originally Posted by hqarrse (Post 2393253)
I also did some work on exactly this task, also using DBTech's vbmail. The results is a very simple cron task that unsubscribes people. It could easily be copied to handle PM notifications, post reporting and so on:

http://www.dragonbyte-tech.com/f99/t...819/#post50838

I'm not claiming a great mod, but rather a quick hack that has been working for me fine for quite a while now. It would be good to see someone taking it or this mod forward.

Any update on this?

David

rebelde 10-28-2013 01:45 PM

I've created a full bounced email handler that I've been using successfully on my site for a few months now. I have been meaning to release it as an add-on here but haven't gotten around to it. If you want it, I'll be happy to send you what we have.

wolfe 11-25-2013 08:27 AM

Quote:

Originally Posted by rebelde (Post 2456828)
I've created a full bounced email handler that I've been using successfully on my site for a few months now. I have been meaning to release it as an add-on here but haven't gotten around to it. If you want it, I'll be happy to send you what we have.

hi mate would you send me this please. thanks


All times are GMT. The time now is 12:16 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.01159 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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