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


require_once 'Net/POP3.php';

mixed Net_POP3::getParsedHeaders ( integer $msg_id )


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.


  • integer $msg_id - Message number

Return value

mixed - Either array of headers or FALSE on error.


This function can not be called statically.

Returns the entire message (Previous) Returns the raw headers of the specified message (Next)
Last updated: Mon, 12 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.