vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   easy removal of bounced e-mails - working! (https://vborg.vbsupport.ru/showthread.php?t=315672)

fomag 11-27-2014 07:27 PM

easy removal of bounced e-mails - working!
 
I have external mass e-mail sending tool but I need a list of good emails extracted from my vbulletin database.

The best solution for me would be a mod:
- adding a user to dedicated group (parameter or fixed) if user email bounced
- setting the flag 'receive emails from administrators' to NO

Then I will extract emails only from 'Registerd users' group or only with flag 'I want to receive emails from administrators' set to YES.
Then I will delete users with bad emails... esp. when they have <5 posts.

The partial solutions for me for now - as it is quite urgent - would be a script which will process input .txt file with bounced email addresses (I will prepare it manually) and set the flag to 'NO'.

I really did detailed research here for a mod handling bounced emails. Some of them didn't work or have different functions then what I need.

If you know sth that works, please give me a tip/link or so. Thank you.

(I also need this for my second froum v3.7.2... but I think I will first do upgrade to 4.2.2...)

ozzy47 11-27-2014 08:35 PM

Sounds to me like you need this, [DBTech] vBMail v2 (vB4)

fomag 12-02-2014 07:52 PM

Thank you ozzy47. I saw this mod but it is something more than I need as I use an advanced external tools for email marketing. But maybe I will use vBMail only to handle bounced e-mails or use it instead my external tools (unwillingly...).

ozzy47 12-02-2014 08:29 PM

What is it in the external tools that you can not do with vBulletin already as far as emailing?

kh99 12-02-2014 09:18 PM

Quote:

Originally Posted by fomag (Post 2524531)
The partial solutions for me for now - as it is quite urgent - would be a script which will process input .txt file with bounced email addresses (I will prepare it manually) and set the flag to 'NO'.

If you added those email addresses to a database table (or maybe you can import it from the text file you create), then you could use sql to set the flags. You could also change the usergroup that way, if you're talking about changing the primary usergroup. It's not the perfect way to change the usergroup, especially if you have custom titles or ranks, but it works if you're just planning to delete the users.

Edit: well, this idea might work - I'd have to think about it a little more. Maybe a php script would be easier.

Edit again: Actually it will work. I created a table called bounced with one column called email. To set the "no admin email" flags:
Code:

UPDATE bounced LEFT JOIN user ON (bounced.email = user.email) SET options = options - 16 WHERE options & 16

fomag 12-07-2014 10:02 AM

Thank you kh99!
I will test it on my forum test installation!

@ozzy47
external, paid tools has got graphic emailing, reports, statistics and better e-mails deliverability.


All times are GMT. The time now is 08:25 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.01124 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete