vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mail delivery failed: returning message to sender (https://vborg.vbsupport.ru/showthread.php?t=292849)

Panzer Max 12-10-2012 03:03 PM

Mail delivery failed: returning message to sender
 
So, I have about 30 of these a day, letting me know members are subscribed to a post somewhere or have a PM and the forum is trying to send them an email, but their email is invalid. I like to see these one by one and check the member profile, what do I need to do to disable them from all future emailings?

Send Notification Email When a Private Message is Received: No
Automatic Thread Subscription Mode: Do not subscribe

What else?

thanks

kh99 12-10-2012 03:20 PM

You could remove all the user's subscriptions by going to the user's page in the admincp and selecting "Delete Subscriptions" from the Quick User Links menu. Also you could set "Receive Admin Emails" to No on that same page.

Panzer Max 12-10-2012 04:57 PM

Oh nice! I never noticed that before.

That does not affect paid subscriptions, just post subscriptions?

Cool! Thanks! Thanks! Thanks!

kh99 12-10-2012 05:07 PM

Quote:

Originally Posted by Panzer Max (Post 2389797)
That does not affect paid subscriptions, just post subscriptions?

I believe that's true, yes. Looking at the code, it removes subscriptions to forums, threads, groups, discussions, and events.

Panzer Max 12-18-2012 01:28 PM

While on the subject, I wonder if there is a way to update the db and select members who have not had activity since 2011 and change their subscriptions' Notification Type to No Email Notification.

Anyone know which field and table this would be in? There is a field in USER called AUTOSCUBSCRIBE, is that it?

kh99 12-18-2012 01:57 PM

I think that might be the default for new subscriptions, but each subscription can have a different type, so I think you'd need to update the various subscription tables and change the type (looks like the field is 'emailupdate' in most of them).

Someone else was asking the other day about a similar issue (disabling emails that bounced) and came up with the idea of simply deleting the email from the user table. I can't say exactly what would happen if you did that, but it does look like the emailing function won't try to send out an email if the "to" address is blank.

Panzer Max 12-25-2012 02:13 PM

That's a good idea. I am also thinking about creating a deademail account, or some thing to change the email to and have it go away.

Checking the failed emails helps me weed out new registrations that are not legit, and also to alert older active members who need to update their email.

I wonder, if I uncheck Receive emails from Admim on a user, will that stop the Happy Birthday emails?

kh99 12-25-2012 03:07 PM

Quote:

Originally Posted by Panzer Max (Post 2392693)
I wonder, if I uncheck Receive emails from Admim on a user, will that stop the Happy Birthday emails?

Yes. I haven't tried it, but looking at the code, the birthday email code seems to check the "Receive emails from Admim" option.

Panzer Max 12-27-2012 02:30 PM

Super, thanks! I will start working on an sql statement that will uncheck that and delete subscriptions for members with less than X posts and have last activity is older than 1 year.


All times are GMT. The time now is 10:28 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.02076 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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