WordPress.org

Make WordPress Core

Ticket #14888: class-phpmailer.php.diff

File class-phpmailer.php.diff, 502 bytes (added by gkusardi, 8 years ago)
  • class-phpmailer.php

     
    866866    $result .= $this->HeaderLine('Date', $this->RFCDate());
    867867    if($this->Sender == '') {
    868868      $result .= $this->HeaderLine('Return-Path', trim($this->From));
     869      $this->Sender = $this->From;
    869870    } else {
    870871      $result .= $this->HeaderLine('Return-Path', trim($this->Sender));
    871872    }