Disable email notifications for disabled / banned users
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 19 Apr 2015 20:40:30 +0000 (22:40 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 19 Apr 2015 20:50:59 +0000 (22:50 +0200)
commit2aaeadbe06cfe9c8299ff9161f09a915db139477
tree1d8f07ae509a051a6d764a1caf503c98a79efe2f
parent3e2dbd4d2848e3ecbd002e9e8a9bff9edd3b1813
Disable email notifications for disabled / banned users

- A user being disabled usually means that his email is
  not yet verified by proper double opt-in.
- A banned user has no means of changing his notification
  settings.

In both cases emails may have increased odds of being
moved into the Junk folder by the recipient and as a
consequence hurting the reputation of the sending mail
server.

see 0290c038a0f12431d0adeaf803cdd44d06fc086f
wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php
wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php