This is the code to view the message header.

require ('../include/init.php') (line 20)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/url_parser.php') (line 24)
require_once (SM_PATH.'functions/imap.php') (line 23)
parse_viewheader (line 40)

Extract message headers

  • return: List of all message headers, where each element is a sub-array that contains two elements: header name and header value (in that order) where the header value is HTML-formatted, ready for display in browser
array parse_viewheader (resource $imapConnection, string $id, string $passed_ent_id)
  • resource $imapConnection
  • string $id: Message ID
  • string $passed_ent_id: Nested/attached/embedded message ID (if any)

Documentation generated on Tue, 17 Apr 2018 04:24:39 +0200 by phpDocumentor 1.4.3