roundcubemail/program/lib/Roundcube/rcube_imap.php
public function get_raw_headers($uid, $part = null)
    {
        if (!$this->check_connection()) {
            return null;
        }

        return $this->conn->fetchPartHeader($this->folder, $uid, true, $part);
    }
public function get_raw_headers($uid, $part = null)
    {
        if (!$this->check_connection()) {
            return null;
        }

        return $this->conn->fetchPartHeader($this->folder, $uid, true, $part);
    }
public function get_raw_headers ( $ uid , $ part = null ) { if ( ! $ this -> check_connection ( ) ) { return null ; } return $ this -> conn -> fetchPartHeader ( $ this -> folder , $ uid , true , $ part ) ; }
Returns the message headers as string

@param int    $uid  Message UID
@param string $part Optional message part ID

@return string Message headers string
Returns the message headers as string