Mailparse エリソ�
PHP Manual

mailparse_stream_encode

(PECL mailparse >= 0.9.0)

mailparse_stream_encode ・ス。シ・ケ・ユ・。・、・�ン・、・ソ、ォ、鬣ケ・ネ・遙シ・爭ヌ。シ・ソ、霹タ、キ。「 ・ィ・ウ。シ・ヌ・」・ー、ャヘム、キ。「スミホマ・ユ・。・、・�ン・、・ソ、ヒスュケ�、�

タ篶タ

bool mailparse_stream_encode ( resource $sourcefp , resource $destfp , string $encoding )

・ス。シ・ケ・ユ・。・、・�ン・、・ソ、ォ、鬣ケ・ネ・遙シ・爭ヌ。シ・ソ、霹タ、キ。「 encoding 、ャヘム、キ、ニ 、ス、�ミホマ・ユ・。・、・�ン・、・ソ、ヒスュケ�、゚、゙、ケ。」

・ム・鬣癸シ・ソ

sourcefp

ヘュク妤ハ・ユ・。・、・�マ・ノ・�」、ウ、ホ・ユ・。・、・�ォ、鬢ホ・ケ・ネ・遙シ・爨ャ・ム。シ・オ、ヒホョ、キケ�、゙、�゙、ケ。」

destfp

・ィ・ウ。シ・ノ、キ、ソ・ヌ。シ・ソ、ュケ�、爭ユ・。・、・�マ・ノ・�」

encoding

mbstring ・筵ク・蝪シ・�ャ・オ・ン。シ・ネ、ケ、�クサ妺ィ・ウ。シ・ヌ・」・ー、ホ、、、コ、�ォ。」

ハヨ、�ヘ

タョクキ、ソセ�遉ヒ TRUE 、「シコヌヤ、キ、ソセ�遉ヒ FALSE 、ヨ、キ、゙、ケ。」

ホ�

ホ�1 mailparse_stream_encode() 、ホホ�

<?php

// email.eml 、ホテ豼ネ、マ: hello, this is some text=hello.
$fp fopen('email.eml''r');

$dest tmpfile();

mailparse_stream_encode($fp$dest"quoted-printable");

rewind($dest);

// ・ユ・。・、・�ホニ簣ニ、スシィ、キ、゙、ケ
fpassthru($dest);

?>

セ螟ホホ网ホスミホマ、マーハイシ、ネ、ハ、熙゙、ケ。」

hello, this is some text=3Dhello.


Mailparse エリソ�
PHP Manual