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.

Returns the entire message (Previous) Returns the raw headers of the specified message (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.