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();
?>