$imap = imap_open($url, $id, $pwd);print("Connection established..."."");//Fetching the contents of a messageprint("Overview of the first message:".""); $MC = imap_check($imap); $overview =imap_fetch_overview($imap,"1:{$MC->Nmsgs}");//print_r($overview);foreach($overview...
arrayimap_fetch_overview( resource imap_stream, string sequence [, int options]) This function fetches mail headers for the givensequenceand returns an overview of their contents.sequencewill contain a sequence of message indices or UIDs, ifflagscontains FT_UID. The returned value is an array of...
> All these things are nicely delivered by the function > "imap_fetch_overview()" > The same could be done by calling "imap_headerinfo()" for every single > mail, but > "fetch_overview" seems to be faster, because it does it at once for the > whole > batch. > > BUT NONE OF ...
> > All these things are nicely delivered by the function > > "imap_fetch_overview()" > > The same could be done by calling "imap_headerinfo()" for every single > > mail, but > > "fetch_overview" seems to be faster, because it does it at once for the > > whole > > batch....