LXIX. mailparse Functions

簡介

警示

本增加模組是實驗性的。本模組的行為,內含其函數的名稱以及其它任何關於此模組的文件可能會在沒有知會的情況下隨 PHP 以後的發佈而改變。使用本增加模組風險自擔。

本增加已被搬移到 PECL 庫中且自以下版本起不再被綁定到 PHP 中:4.2.0.

安裝

PECL 增加未綁定於 PHP 中。 進一步訊息例如新版本,下載,源程式,維護者訊息以及更新日誌可以在此找到: http://pecl.php.net/package/mailparse.

In order to use these functions you must compile PHP with mailparse support by using the --enable-mailparse configure option.

Windows users will enable php_mailparse.dll inside of php.ini in order to use these functions. 可以從 PHP 下載頁面或是 http://snaps.php.net/ 下載此 PECL 增加的 DLL 檔案。

目錄
mailparse_determine_best_xfer_encoding --  Figures out the best way of encoding the content read from the file pointer fp, which must be seek-able
mailparse_msg_create -- Returns a handle that can be used to parse a message
mailparse_msg_extract_part_file -- Extracts/decodes a message section, decoding the transfer encoding
mailparse_msg_extract_part --  Extracts/decodes a message section
mailparse_msg_free -- Frees a handle allocated by mailparse_msg_create()
mailparse_msg_get_part_data -- Returns an associative array of info about the message
mailparse_msg_get_part -- Returns a handle on a given section in a mimemessage
mailparse_msg_get_structure -- Returns an array of mime section names in the supplied message
mailparse_msg_parse_file -- Parse file and return a resource representing the structure
mailparse_msg_parse -- Incrementally parse data into buffer
mailparse_rfc822_parse_addresses --  Parse addresses and returns a hash containing that data
mailparse_stream_encode --  Streams data from source file pointer, apply encoding and write to destfp
mailparse_uudecode_all --  Scans the data from fp and extract each embedded uuencoded file