[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 17:15:59 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 tsimmons):

 Replying to [comment:66 DavidAnderson]:
 > Why is WP trying to come up with an email address at all, rather than
 using the one in 'General Settings'? The plugin
 https://wordpress.org/plugins/admin-email-as-from-address/ has been
 mentioned - but why isn't this the existing behaviour?

 My answer would be because system generated messages (like password resets
 or notifications) aren't really from the blog author, but from the
 backend. I use the aforementioned plugin and use wordpress at myblogsite.com
 for admin messages. Of course someone else may have another opinion.

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


More information about the wp-trac mailing list