[wp-trac] [WordPress Trac] #25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names

WordPress Trac noreply at wordpress.org
Fri May 5 20:59:35 UTC 2017


#25239: $_SERVER['SERVER_NAME'] not a reliable when generating email host names
-------------------------------------------------+-------------------------
 Reporter:  layotte                              |       Owner:
     Type:  defect (bug)                         |  SergeyBiryukov
 Priority:  normal                               |      Status:  reviewing
Component:  Mail                                 |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch dev-feedback needs-        |     Version:  3.8
  testing                                        |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by DavidAnderson):

 @tsimmons I'm thinking, having read this ticket, that I wonder if I'm
 alone in thinking that it's not clear what this email address is *for*.
 Taking up your comment about the person/backend distinction... since one
 can't have an email conversation with a backend, since it isn't human,
 then presumably the idea is that it's effectively a "noreply@" address?
 i.e. An address that isn't really intended to get replies, and is just for
 aesthetics? (Of course, a site admin can set it up so that he *does* get
 replies (or he may have a catch-all) - but then he may as well just use
 the admin address anyway in that case). I'm not really saying anything
 either way here - just that

 @Ipstenu I don't follow all of this. A few functions in wp-includes/ms-
 functions.php already do use the admin email as a From: address (I'm
 wondering whether there's a design in which emails do/don't, or if it's
 just a accumulation of unplanned independent decisions). Also, it can't be
 dangerous for the site admin see password reset requests, can it? He can
 already reset as many passwords as he likes, and/or set up a wordpress@
 email address to the replies anyway (or may already have a catch-all).

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


More information about the wp-trac mailing list