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>