[wp-trac] [WordPress Trac] #37945: If from_email is not set and $_SERVER['SERVER_NAME'] is empty the from email address will be set to 'wordpress@' and thus is invalid
WordPress Trac
noreply at wordpress.org
Mon Sep 5 20:45:17 UTC 2016
#37945: If from_email is not set and $_SERVER['SERVER_NAME'] is empty the from
email address will be set to 'wordpress@' and thus is invalid
--------------------------+------------------------
Reporter: BjornW | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Mail | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by BjornW):
@ocean90 thanks for cleaning up my description and pointing out the parent
issue.
For completeness sake I'd like to add that if the From header is set
explicitly the problem described in this issue will not arise.
I've made a small plugin which explicitly sets the admin_email as the From
address (with the From name WordPress). In my case this solved my problem
for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37945#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list