Opened 5 years ago
Last modified 5 years ago
#4782 new defect (bug)
Filter wp_mail() on .org from trying to mail prohibited addresses
Reported by: | Ipstenu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
We have certain email providers (eg Yahoo) prohibited from signing up for new user accounts, due to bounce back issues.
We should prevent wp_mail() from even trying to email them, and reduce load (and lost emails) on our end.
Change History (4)
#2
@
5 years ago
I've added something in the private repo that does this:
r15456-dotorg:
Mail: Add an mu-plugin to filter outgoing wp_mail()'s. This blocks emails to hosts we consider "unsafe" which is a bad term, but is roughly equal to hostnames we consider spam or who we have mail deliverability issues to. A PHP warning will be triggered when this happens for logging / discoverability purposes. It'd be nice to add a `Require-Recipient-Valid-Since:` header for appropriate hosts once we start to store user email change dates. See https://meta.trac.wordpress.org/ticket/4782
In addition to #4781 we should also prevent new forum subscriptions for affected users.
Note: See
TracTickets for help on using
tickets.
In 9242: