array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.imap-rfc822-parse-headers.php', 1 => 'imap_rfc822_parse_headers', ), 'up' => array ( 0 => 'ref.imap.php', 1 => 'IMAP 関数', ), 'prev' => array ( 0 => 'function.imap-rfc822-parse-adrlist.php', 1 => 'imap_rfc822_parse_adrlist', ), 'next' => array ( 0 => 'function.imap-rfc822-write-address.php', 1 => 'imap_rfc822_write_address', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/imap/functions/imap-rfc822-parse-headers.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
imap_rfc822_parse_headers — 文字列からメールヘッダを解釈する
複数のヘッダ要素を含むオブジェクトを取得します。 imap_header() と同じようなものです。
headers
パースされたヘッダデータ。
default_hostname
デフォルトのホスト名。
imap_header() が返すオブジェクトと似たものを返します。 フラグおよび他の要素は IMAP サーバーから取得するいう点が異なります。