[wp-trac] [WordPress Trac] #60420: Default sender address
WordPress Trac
noreply at wordpress.org
Tue Jul 15 14:02:04 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 SirLouen):
Replying to [comment:13 michael.orlitzky]:
> The website is not necessarily even hosted on $SERVER_NAME, it could be
hosted on www.$SERVER_NAME, because WP is stripping the "www" as if it's
irrelevant. But www and @ are different DNS zones! You will occasionally
find www delegated to another department to manage beta sites and i18n
subdomains, etc. So not only could the email be controlled by another
entity (who doesn't want some random web server sending spam through their
infrastructure), but you may not even be talking about the same DNS.
[https://core.trac.wordpress.org/ticket/1532#comment:5 According to this],
it seems that at some point, they got to the conclusion that www could
lead into spammy results. I'm not 100% sure confident on how they got to
this conclusion and which references they found to identify where the host
part with `www` led to this spam trouble.
I can't really think on a way to solve this by (1) not using a new UI
element, (2) not using, obviously admin_email (because it might better
used for whatever real admin email for notification purposes) and
obviously (3) not provoking a backwards compatibility issue. Combining
these 3 elements, I can't see other better way to sort using apart from
using a hook (which is generally my go-to),
> Elementor Pro defaults some of its messages to the admin email. WP
Updates Notifier defaults to the admin email, etc.
Are we talking about were these plugins send their notification messages
(`To:`) or which field they use for their notification messages (`From:`)?
I have not reviewed them all, but in the case of "WP Updates Notifier" it
seems that they directly take the email from admin and pluck it into their
admin menu, so basically they handle their own `To:` and `From:` fields.
As I said, in my beginnings I always thought that `admin_email` was
default for `From:` (its the most obvious).
If someone can find some additional idea apart from those stated already,
that could bypass the 3 hindrances stated above, maybe we could move from
there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list