Ticket #1727: x_origin.patch
File x_origin.patch, 519 bytes (added by diegomoreno, 13 years ago) |
---|
-
class.phpmailer.php
972 972 if(count($this->cc) > 0) 973 973 $result .= $this->AddrAppend("Cc", $this->cc); 974 974 } 975 $result .= $this->HeaderLine("X-Origin", isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']); 975 976 976 977 if (!$this->SaveMessageAsDraft){ 977 978 $from = array();