RSS
热门关键字:  数据挖掘  数据仓库  商业智能  人工智能  搜索引擎

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

来源: 作者:unkonwn 时间:2006-03-10 点击:
showbody_imap.php

<HTML>
<HEAD>
<TITLE>Biz2Biz WebMail System</TITLE>
<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>
</HEAD>
<BODY>
<?php
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();
?>
</body>
</html>
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
匿名?