src/IMAP/Message.php
public function getHeaderInfo() {
        if ($this->header_info == null) {
            $this->client->openFolder($this->folder_path);
            $this->header_info = imap_headerinfo($this->client->getConnection(), $this->getMessageNo());
        }

        return $this->header_info;
    }
public function getHeaderInfo() {
        if ($this->header_info == null) {
            $this->client->openFolder($this->folder_path);
            $this->header_info = imap_headerinfo($this->client->getConnection(), $this->getMessageNo());
        }

        return $this->header_info;
    }
public function getHeaderInfo ( ) { if ( $ this -> header_info == null ) { $ this -> client -> openFolder ( $ this -> folder_path ) ; $ this -> header_info = imap_headerinfo ( $ this -> client -> getConnection ( ) , $ this -> getMessageNo ( ) ) ; } return $ this -> header_info ; }
Get the current Message header info

@return object
@throws Exceptions\ConnectionFailedException
Get the current Message header info