[wp-trac] [WordPress Trac] #60420: Default sender address

WordPress Trac noreply at wordpress.org
Tue Jul 15 15:20:09 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 michael.orlitzky):

 Replying to [comment:14 SirLouen]:
 > [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.

 The "www" can lead to trouble because most people aren't sending with
 email addresses like `user at www.example.com`. If you use $SERVER_NAME
 without stripping the "www", and if your URL uses the www, then that's
 what happens, and in most cases it will be wrong: no MX record exists for
 www.example.com, and you wind up in spam or with your mail rejected. But
 conversely, the bare example.com is not always right either, if you are
 not responsible for its mail.


 > > 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).

 They are using the admin email as the "From". I agree that this is in a
 sense the most obvious, since it is the one email address that you are
 able to configure, and are relatively likely to notice if it doesn't work.

 It's not clear that Wordpress intends for the admin address to be used
 this way however. My argument so far has essentially been that "the admin
 address is better because everyone else is already using it." Which is
 true, but I want to be transparent about that in case it turns out that
 everyone else is using it wrong. In that case, the admin email should not
 be used either, and we are back to the problem of needing to configure a
 generic "From" address.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list