PEAR Manual
Prev |  | Next

# Net_POP3::getParsedHeaders()

Net_POP3::getParsedHeaders() -- Returns the parsed headers of the specified message

## Synopsis

    require_once 'Net/POP3.php';

``mixed Net_POP3::getParsedHeaders` (integer $msg_id)`

## Description

Returns the headers of the specified message in an associative array. Array keys are the header names, array values are the header values. In the case of multiple headers having the same names, eg Received:, the array value will be an indexed array of all the header values.

## Parameter

- `integer $msg_id` - Message number

## Return value

`mixed` - Either array of headers or `FALSE` on error.

## Note

This function can not be called statically.

Prev | Home | Next
Net_POP3::getMsg() | Up | Net_POP3::getRawHeaders()