note 28043 added to function.imap-fetchstructure
| From: | as1 at powersite dot com dot ar | Date: | Mon, 30 Dec 2002 19:57:43 +0000 |
| Subject: | note 28043 added to function.imap-fetchstructure | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41490@lists.php.net to get a copy of this message | ||
Sorry, my before code is not complet:
$struct = imap_fetchstructure( $conn, $curMsg );
$i = 1;
while( imap_fetchbody( $conn, $curMsg, $i ) ){
$struct->parts[$i-1] = imap_bodystruct( $conn, $curMsg, $i );
$j = 1;
while( imap_fetchbody( $conn, $curMsg, "$i.$j" ) ){
$struct->parts[$i-1]->parts[$j-1] = imap_bodystruct( $conn, $curMsg, "$i.$j" );
$j++;
}
$i++;
}
--
http://www.php.net/manual/en/function.imap-fetchstructure.php
http://master.php.net/manage/user-notes.php?action=edit+28043
http://master.php.net/manage/user-notes.php?action=delete+28043
http://master.php.net/manage/user-notes.php?action=reject+28043