[wp-trac] [WordPress Trac] #60420: Default wordpress at site.com sender address can be problematic

WordPress Trac noreply at wordpress.org
Thu Dec 18 16:38:05 UTC 2025


#60420: Default wordpress at site.com sender address can be problematic
-----------------------------+------------------------------
 Reporter:  thinlinecz       |       Owner:  (none)
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Mail             |     Version:  1.5.1.2
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:
-----------------------------+------------------------------

Comment (by mvl22):

 It feels like this conversation has generated a lot of complexity, when
 the solution is simple for the vast majority of cases: simply adding a
 setting to allow the mail from value to be set as a setting, like any
 other setting.

 At the moment that has to be done using a plugin (proving the problem is
 already solveable), but that is really the wrong architectural level to
 set a configuration value. This is configuration (config), not site
 behaviour (plugins).

 As I said:

 > There should simply be an optional mail_from admin setting added, and
 that isSet() block at the start return the mail_from value if it is non-
 empty.

 What would be the downside?

 Complex stuff like checking mail deliverability is a second-order issue
 and could be considered later. Personally I think that should be entirely
 out of scope. The key point is simply that server administrators should be
 able to configure the mail address string in the config without having to
 disrupt the installation itself by requiring a plugin to be added.

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


More information about the wp-trac mailing list