QdmailReceiver Multibyte mail decoder & POP Client

筝∽違帥ゃ

<若若緇

<若綏坂査
echo qd_receive_mail( 'header' , array('from','name') );
<若綏坂査<若≪
echo qd_receive_mail( 'header' , array('from','mail') );
<若綏坂査≫宴筝緇
$from = qd_receive_mail( 'header' , array('from') ) ;
障
$from = qd_receive_mail( 'header' , 'from' );
с
$from 綵√сfrom若茹f宴篁eャ障

篁若ゃ罕冴с障
  • 羈刻
<若若腱違鴻絨絖ф絎
Subjectsubjectс
<若篁九
$subject = qd_receive_mail( 'header' , array('subject','name') );
<若篁九≫宴筝緇
$subject = qd_receive_mail( 'header' , array('subject') );
障
$subject = qd_receive_mail( 'header' , 'subject' );
с
惹宴у緇
$header = qd_receive_mail( 'header' , 'ALL' );

<若緇

$body = qd_receive_mail( 'body' );
сhtml<若翫html緇鴻<若翫鴻緇障
鴻篁ヤ綵≪с緇с障
$body = qd_receive_mail( 'text' );
綵√鴻緇障html<若сc篁f帥鴻緇障
篁f帥鴻html<若翫null障

html緇
$body = qd_receive_mail( 'html' );
鴻<若翫null障
筝'body'潟潟篏睡祉с

羞私<ゃ緇

$attach = qd_receive_mail( 'attach' );
篁ヤ綵≪с羞私<ゃ$attach主障
鐚箴鐚
array(
    0 => array(
         'value' => '羞私<ゃ筝荳鐚潟若羝帥ゃ鐚',
         'finename' => '<ゃ鐚ユ茯潟若羝随',
         'finename_safe' => 'urlencode羝帥<ゃ',
         'content-type' => 'image/jpg',
         'enc' => 'base64',
        ),
    1 => array(
         'value' => '羞私<ゃ筝荳鐚潟若羝帥ゃ鐚',
         'finename' => '<ゃ鐚ユ茯潟若羝随',
         'finename_safe' => 'urlencode羝帥<ゃ',
         'content-type' => 'image/jpg',
         'enc' => 'base64',
         'content-id' => '........',
    ),
);
'finename'ゃ鐚ユ茯鐚<ゃ潟若羝帥сс障windowsс<ゃт絖筝遵с翫障翫sjis潟潟若篏帥
鐚<<ゃ≪<<ゃс違号泣馹с障鐚
'finename_safe'<ゃurlencode障с障障<ゃ篆絖紊т紊障(windows,unix,linux)

羞私<ゃ篆絖泣潟潟若
$attach = qd_receive_mail( 'attach' );
foreach($attach as $att){
    $fp=fopen($att['filename_safe'],'w');
    fputs($fp,$att['value']);
    fclose($fp);
}

荐篋鴻

# craran iPhone<若帥с羞私<ゃ緇堺ャс 若荀帥羞私<ゃ...(2009/08/31 13:41)

# msa.uccky multipart<若茹fс宴若鴻障 QdDecodeBase->decodeBody()篁ヤ篆罩c...(2009/11/17 17:30)

# pws msa.uccky 羂篆罩c∫cfunction buildPart() 罩h頫憗篆罩c綽荀с preg...(2010/11/26 17:06)

# 蚊с障 祉с篆罩c羞私<ゃ帥с(2011/09/16 15:52)

# 蚊с障 羞私<ゃ篆絖号 foreach($attach as $att){ $fp = fopen($att['file...(2011/09/16 16:58)

# 蚊с障 篏綺障 foreach($attach as $v){ file_put_contents('/home/a...(2011/09/16 18:02)

# mikan 筝 finename filename 罩cс(2012/04/09 9:20)

# 蚊с障 障障cт信罩g≪障 篁ヤ障鞘戎iphone с糸緇с障 http://w...(2012/06/08 13:20)

# Ayase <img>贋・base64х糸莨若障翫с(2017/08/04 15:28)