PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

imap_rfc822_parse_headers

(PHP 4, PHP 5, PHP 7)

imap_rfc822_parse_headersParse mail headers from a string

说明

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

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

参数

headers

The parsed headers data

defaulthost

The default host name

返回值

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

参见