PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mailparse_msg_extract_part> <mailparse_msg_create
Last updated: Fri, 10 Oct 2008

view this page in

mailparse_msg_extract_part_file

(PHP 4 >= 4.0.7, PECL mailparse:0.9-2.1.1)

mailparse_msg_extract_part_fileメッセージセクションを展開/デコードする

説明

string mailparse_msg_extract_part_file ( resource $mimemail , mixed $filename [, callback $callbackfunc ] )

指定したファイル名のメッセージセクションを展開/デコードします。

セクションの内容は、transfer encoding に応じて適切にデコードされます。 base64、quoted-printable および uuencode 形式をサポートしています。

パラメータ

mimemail

mailparse_msg_create() で作成した MIME リソース。

filename

ファイル名あるいは有効なストリームリソース。

callbackfunc

展開されたセクションに渡されるコールバック関数、あるいは NULL を指定すると、この関数は展開したセクションを返します。

省略した場合は標準出力に出力されます。

返り値

callbackfuncNULL でない場合は、 成功時に TRUE を返します。

callbackfuncNULL の場合は、 展開したセクションを文字列で返します。

エラー時には FALSE を返します。



add a note add a note User Contributed Notes
mailparse_msg_extract_part_file
per at computer dot org
21-Oct-2004 01:09
mailparse_msg_extract_part_file() does not support file-wrappers as it needs to be able to use seek() on the file.

mailparse_msg_extract_part> <mailparse_msg_create
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites