VPS测评介绍
VPS技术分享

php通过imap收取邮件代码

Nmsgs."
"; for($i=1;$i<=$check_array->Nmsgs;$i++) { $msg_structure = imap_fetchstructure($mbox,$i); $foo=imap_header($mbox,$i); $title =imap_mime_header_decode($foo->subject); echo "邮件编号:: ".$i."
邮件标题:".$title[0]->text."
"; $body = imap_body($mbox,$i); //$body = imap_qprint($body); echo base64_decode($body)."
==========================
"; } imap_close($mbox); ?>
zp8497586rq
赞(0)
未经允许不得转载:服务器VPS折腾 » php通过imap收取邮件代码