Discard notification emails if the recipient’s email address is unconfirmed
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 31 Oct 2022 15:35:50 +0000 (16:35 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 31 Oct 2022 15:35:50 +0000 (16:35 +0100)
commitd9e16a889d46ad76e4c264a6f561ae595fa2ba73
tree18ad0bc55aee5c48b6afe7f900ea30ebb009f66f
parent4fb7a018f42670fa55ebc8ec796a981c7968eee5
Discard notification emails if the recipient’s email address is unconfirmed

This change discards notification emails if the recipient’s email address is
unconfirmed after the email was created and before the email was actually seat.

An example might be that the background queue is delayed, due to the mail
server’s spam protection kicking in, allowing the admin to unconfirm email
addresses of email addresses that are no longer valid to prevent more bounces
from being generated.
wcfsetup/install/files/lib/system/background/job/NotificationEmailDeliveryBackgroundJob.class.php