lib/classes/Swift/Message.php
protected function saveHeaders(array $altered)
    {
        foreach ($altered as $head) {
            $lc = strtolower($head);

            if (!isset($this->savedMessage['headers'][$lc])) {
                $this->savedMessage['headers'][$lc] = $this->getHeaders()->getAll($head);
            }
        }
    }
protected function saveHeaders(array $altered)
    {
        foreach ($altered as $head) {
            $lc = strtolower($head);

            if (!isset($this->savedMessage['headers'][$lc])) {
                $this->savedMessage['headers'][$lc] = $this->getHeaders()->getAll($head);
            }
        }
    }
protected function saveHeaders ( array $ altered ) { foreach ( $ altered as $ head ) { $ lc = strtolower ( $ head ) ; if ( ! isset ( $ this -> savedMessage [ 'headers' ] [ $ lc ] ) ) { $ this -> savedMessage [ 'headers' ] [ $ lc ] = $ this -> getHeaders ( ) -> getAll ( $ head ) ; } } }
save the original headers.
save the original headers .