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

Reply via email to