GoLang imap_rfc822_parse_headers

request it (358)
GoLang replacement for PHP's imap_rfc822_parse_headers [edit | history]



Do you know a GoLang replacement for PHP's imap_rfc822_parse_headers? Write it!

PHP imap_rfc822_parse_headers

PHP original manual for imap_rfc822_parse_headers [ show | php.net ]

imap_rfc822_parse_headers

(PHP 4, PHP 5, PHP 7)

imap_rfc822_parse_headersParse mail headers from a string

Description

object imap_rfc822_parse_headers ( string $headers [, string $defaulthost = "UNKNOWN" ] )

Gets an object of various header elements, similar to imap_header().

Parameters

headers

The parsed headers data

defaulthost

The default host name

Return Values

Returns an object similar to the one returned by imap_header(), except for the flags and other properties that come from the IMAP server.

See Also