Ticket #1727: x_origin_2_2_0_rc1.patch
File x_origin_2_2_0_rc1.patch, 539 bytes (added by diegomoreno, 13 years ago) |
---|
-
class.phpmailer.php
974 974 $result .= $this->AddrAppend("Cc", $this->cc); 975 975 } 976 976 977 $result .= $this->HeaderLine("X-Origin", isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']); 978 977 979 $from = array(); 978 980 $from[0][0] = trim($this->From); 979 981 $from[0][1] = $this->FromName;