Home >php教程 >php手册 >一个简单的(也可以说是不完全的)IMAP类和应用。(三)

一个简单的(也可以说是不完全的)IMAP类和应用。(三)

WBOY
WBOYOriginal
2016-06-21 09:12:551594browse

showbody_imap.php



Biz2Biz WebMail System



include("imap_new.php");
$imap=new myimap;
$imap->hostname="192.168.100.13";
$imap->port=110;
$imap->username=$usr;
$imap->userpwd=$pwd;
$imap->open();
$mail_structure=$imap->get_structure($msg);
//echo gettype($mail_structure->parts);
//echo count($mail_structure->parts);
$imap->proc_structure($mail_structure,"",$msg);

@$imap->close();
?>



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn