array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'intro.mailparse.php', 1 => '简介', ), 'up' => array ( 0 => 'book.mailparse.php', 1 => 'Mailparse', ), 'prev' => array ( 0 => 'book.mailparse.php', 1 => 'Mailparse', ), 'next' => array ( 0 => 'mailparse.setup.php', 1 => '安装/配置', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mailparse/book.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
Mailparse is an extension for parsing and working with email messages.
It can deal with » RFC 822 and » RFC 2045 (MIME
) compliant
messages.
Mailparse is stream based, which means that it does not keep in-memory copies of the files it processes - so it is very resource efficient when dealing with large messages.
注意:
Mailparse requires the mbstring extension, and mbstring must be loaded before mailparse.