Ticket #14888: 14888.patch
| File 14888.patch, 586 bytes (added by SergeyBiryukov, 18 months ago) |
|---|
-
wp-includes/class-phpmailer.php
1141 1141 1142 1142 $result .= $this->HeaderLine('Date', self::RFCDate()); 1143 1143 if($this->Sender == '') { 1144 $result .= $this->HeaderLine('Return-Path', trim($this->From)); 1145 } else { 1146 $result .= $this->HeaderLine('Return-Path', trim($this->Sender)); 1144 $this->Sender = trim($this->From); 1147 1145 } 1148 1146 1149 1147 // To be created automatically by mail()