From: tony123 at hotmail dot com Operating system: Windows XP PRO SP2 PHP version: 5.0.4 PHP Bug Type: *General Issues Bug description: imap_fetchstructure( ) Problem with message/rfc822
Description: ------------ Hi I found people in many webboard talked about some problem with message/rfc822 with function imap_fetcstructure($imap,$id); imap_fetchbody($imap,$id,"string part number"); And I've experienced with the same problem. I tried to send an email with outlook express attach 2 files a.eml, b.eml with this code... print_r(imap_fetcstructure($imap,$id)); Result... ---------------------------- ...... ...... ...... [1] => stdClass Object ( [type] => 2 [encoding] => 0 [ifsubtype] => 1 [subtype] => RFC822 [ifdescription] => 0 [ifid] => 0 [bytes] => 1768 [ifdisposition] => 0 [ifdparameters] => 0 [ifparameters] => 0 [parameters] => stdClass Object ( ) [parts] => Array ( [0] => stdClass Object ( [type] => 9 [encoding] => 5 [ifsubtype] => 1 [subtype] => UNKNOWN [ifdescription] => 0 [ifid] => 0 [ifdisposition] => 0 [ifdparameters] => 0 [ifparameters] => 0 [parameters] => stdClass Object ( ) ) ) ------------------------------ That's incorrect. Same problem with the lastest cvs.(5.1.x) Any idea? Sorry for my Enlish and typing ? -- Edit bug report at http://bugs.php.net/?id=34349&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34349&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34349&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34349&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34349&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34349&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34349&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34349&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34349&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34349&r=support Expected behavior: http://bugs.php.net/fix.php?id=34349&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34349&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34349&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34349&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34349&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34349&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34349&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34349&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34349&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34349&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34349&r=mysqlcfg