#34349 [Opn]: imap_fetchstructure( ) Problem with message/rfc822

From: Date: Fri, 02 Sep 2005 16:39:42 +0000
Subject: #34349 [Opn]: imap_fetchstructure( ) Problem with message/rfc822
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84433@lists.php.net to get a copy of this message
ID: 34349 User updated by: tony123 at hotmail dot com Reported By: tony123 at hotmail dot com Status: Open -Bug Type: *General Issues +Bug Type: IMAP related Operating System: Windows XP PRO SP2 PHP Version: 5.0.4 New Comment: Oh sorry wrong Category. Changed :) Previous Comments: ------------------------------------------------------------------------ [2005-09-02 18:35:58] tony123 at hotmail dot com 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 this bug report at http://bugs.php.net/?id=34349&edit=1

« previous php.bugs (#84433) next »