Ignore:
Timestamp:
04/14/11 09:37:50 (13 years ago)
Author:
diegomoreno
Message:

Ticket #1727 - expressoMail1_2 - Melhoria para exibir o x-origin na fonte da mensagem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.phpmailer.php

    r3018 r4023  
    974974                $result .= $this->AddrAppend("Cc", $this->cc); 
    975975        } 
    976  
     976                         
     977                        if ($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_x_origin']) 
     978                                $result .= $this->HeaderLine("X-Origin", isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']);  
     979                         
    977980                $from = array(); 
    978981                $from[0][0] = trim($this->From); 
Note: See TracChangeset for help on using the changeset viewer.