一个简单的(也可以说是不完全的)IMAP类和应用。(二)
类别: 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>
<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>
-= 资 源 教 程 =-
文 章 搜 索