一个简单的(也可以说是不完全的)IMAP类和应用。(二)
时间:2007-02-17 来源:PHP爱好者
use_imap.PHP (前面那个应该是 imap_new.PHP)
<HTML>
<HEAD>
<style type="text/CSS">
<!--
td { font-size:9pt}
a {font-szie:9pt}
body {font-size:9pt}
input {font-size:9pt}
select {font-size:9pt}
-->
</style>
<title>PHP WebMail System</title>
</HEAD>
<BODY bgcolor="#FFFFFF">
<?PHP
include("imap_new.PHP");
$imap=new myimap;
$imap->hostname="192.168.100.13";
$imap->port=110;
$imap->username="Alpha";
$imap->userpwd="enter";
$imap->open();
$imap->CheckMailBox();
//$imap->GetMailStructure($imap->inStream,1);
@$imap->close();
?>
</body>
</HTML>
php爱好者站 http://www.phpfans.net Linux|Apache|IIS.
<HTML>
<HEAD>
<style type="text/CSS">
<!--
td { font-size:9pt}
a {font-szie:9pt}
body {font-size:9pt}
input {font-size:9pt}
select {font-size:9pt}
-->
</style>
<title>PHP WebMail System</title>
</HEAD>
<BODY bgcolor="#FFFFFF">
<?PHP
include("imap_new.PHP");
$imap=new myimap;
$imap->hostname="192.168.100.13";
$imap->port=110;
$imap->username="Alpha";
$imap->userpwd="enter";
$imap->open();
$imap->CheckMailBox();
//$imap->GetMailStructure($imap->inStream,1);
@$imap->close();
?>
</body>
</HTML>
php爱好者站 http://www.phpfans.net Linux|Apache|IIS.
相关阅读 更多 +