Opened 9 years ago
Closed 9 years ago
#33698 closed defect (bug) (duplicate)
SERVER_NAME may not be set in wp_mail()
Reported by: | szepe.viktor | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | Keywords: | ||
Focuses: | Cc: |
Description
$sitename = strtolower( $_SERVER['SERVER_NAME'] );
results in an empty string thus an invalid sender address: wordpress@
Please fall back to $_SERVER['HTTP_HOST']
.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #25239.