Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#33698 closed defect (bug) (duplicate)

SERVER_NAME may not be set in wp_mail()

Reported by: szepe.viktor Owned by:
Priority: normal Milestone:
Component: Mail Version: 4.4
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #25239.

Note: See TracTickets for help on using tickets.