[wp-trac] [WordPress Trac] #60420: Default sender address
WordPress Trac
noreply at wordpress.org
Mon Jul 14 14:17:29 UTC 2025
#60420: Default sender address
-----------------------------+------------------------------
Reporter: thinlinecz | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 1.5.1.2
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by knutsp):
Replying to [comment:5 SirLouen]:
> Could Admin Email be a better option? Its more visual and definitely
feels much more intuitive. Maybe we could draft a new proposal in a new
ticket stating all the reasons of why this should be the way to go. I'm
not 100% against this.
>
> There is only one massive problem: Backwards compatibility. In an era
where WP is the 40% of the internet, potentially thousands if not millions
of servers are already working with default behaviour. If we update the
version changing this, there could be massive potential email breakages in
multiple sites. For this reason, I'm 99.999% certain that this proposal
will be rejected.
There are ways to avoid breaking backwards compatibility, but if admin
email was to be used as From, the default would have to depend on intital
database version, which I guess is far from ideal for documentation,
learning WP and for support. Therefore I don't like that, except as a
default for a new user facing option. In this case, given the increased
strictness and compelxity sending emails that will not be rejected or
simply flagged as spam, this could be acceptable.
To make a new option easier to set properly, a check could be made that
it, when changed, exists using SMTP, and emit a warning if it fails.
And/or immediately send a test message to the current user_email. This
could also be a Site Health test. The Site Health Tools plugin has a
manual email sending check that could be included in core.
When I'm asked to help a site owner or admin, the most common reasons is
1) that they have lost their password and does not receive reset email, or
2) that they have a fatal error and no way to get in and fix it. When
asked, many have never ever received any email from their WordPress
installation and have given up finding out how to make it work. The
simplest to fix is the lack of Sender header, a thing some MTAs are strict
about, some not, but very often there are several other problems.
We need to identify all challenges non-expert users face when installing
and maintaining WordPress in configuring mail sending that will work,
since WordPress depend on it for so many features. Then identfy which and
how to do the most common and simplest checks that MTAs will do, before
doing an end-to-end test (send a message). The goal should be that setting
up email sending natively from the web server (maildrop through PHPMailer)
become easier that setting up SMTP, a task some also have trouble with,
besides requiring a plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list