imap_rfc822_parse_headers Parse mail headers from a string Description objectimap_rfc822_parse_headers stringheaders stringdefaulthost This function returns an object of various header elements, similar to imap_header, except without the flags and other elements that come from the IMAP server.