On Thu, 26 Aug 2004 22:25:00 +0800, fongming <[EMAIL PROTECTED]> wrote: > Hello: > >Here is my code : > >/-------------------/ > >$mails = imap_search($mbox, 'TO "gentoo-user->[EMAIL PROTECTED]"',SE_UID); > >echo sizeof($mails); > >/------------------/ > > You can start to parse the mailheader,mailbody... > > for($i=0;$i<count($mails);$i++) > { > [EMAIL PROTECTED]($mbox,$mails[$x-1]); > echo $subject=$h->subject; > echo $sender=$h->from[0]; > echo "<BR>"; > } > > Hi, nice to meet you! > ------------------------------------------ > ˇ»From: [EMAIL PROTECTED] > http://fonn.fongming.idv.tw > [EMAIL PROTECTED] >
Thank you, I have finally found what is the thing which was the problem, it was the option SE_UID in the search function. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php