hi,
i have paresed entire messaage into an array. everything was ok untill i 
encountered a message/rfc822 subtype.it was a farwaded message.now my 
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is 

Array
(
    [Date] => Tue, 18 Mar 2003 13:28:07 +0000 (GMT)
    [Subject] => Fwd: somesubject
    [FR] =>  
    [FU] =>  
    [FA] =>  
    [FD] =>  
    [FX] =>  
    [FF] =>  
    [To] => someone <[EMAIL PROTECTED]>,................
    [From] => "SomeOne" <[EMAIL PROTECTED]>
    [CC] => 
    [BCC] => 
    [Type] => multipart/mixed
    [Encoding] => 7bit
    [IsDesc] => 0
    [IsId] => 0
    [Bytes] => 
    [IsDisp] => 0
    [IsDPara] => 0
    [IsPara] => 1
    [Para] => Array
        (
            [0] => Array
                (
                    [Atr] => boundary
                    [Val] => 0-1759809281-1047994087=:91467
                )

        )

    [IsParts] => 1
    [Parts] => Array
        (
            [0] => Array
                (
                    [PartNo] => 1
                    [Type] => multipart/alternative
                    [Encoding] => 7bit
                    [IsDesc] => 0
                    [IsId] => 0
                    [Bytes] => 
                    [IsDisp] => 0
                    [IsDPara] => 0
                    [IsPara] => 1
                    [Para] => Array
                        (
                            [0] => Array
                                (
                                    [Atr] => boundary
                                    [Val] => 0-1446890343-1047994087=:91467
                                )

                        )

                    [IsParts] => 1
                    [Parts] => Array
                        (
                            [0] => Array
                                (
                                    [PartNo] => 1.1
                                    [Type] => text/plain
                                    [Encoding] => 8bit
                                    [IsDesc] => 0
                                    [IsId] => 0
                                    [Bytes] => 136
                                    [IsDisp] => 0
                                    [IsDPara] => 0
                                    [IsPara] => 1
                                    [Para] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [Atr] => charset
                                                    [Val] => iso-8859-1
                                                )

                                        )

                                    [IsParts] => 0
                                )

                            [1] => Array
                                (
                                    [PartNo] => 1.2
                                    [Type] => text/html
                                    [Encoding] => 8bit
                                    [IsDesc] => 0
                                    [IsId] => 0
                                    [Bytes] => 471
                                    [IsDisp] => 0
                                    [IsDPara] => 0
                                    [IsPara] => 1
                                    [Para] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [Atr] => charset
                                                    [Val] => iso-8859-1
                                                )

                                        )

                                    [IsParts] => 0
                                )

                        )

                )

            [1] => Array
                (
                    [PartNo] => 2
                    [Type] => message/rfc822
                    [Encoding] => 8bit
                    [IsDesc] => 0
                    [IsId] => 0
                    [Bytes] => 177048
                    [IsDisp] => 0
                    [IsDPara] => 0
                    [IsPara] => 0
                    [IsParts] => 0
                )

        )

)

the subscript 'IsParts' shows weather this message has further parts or 
not. as there is no part of last subs soo i try to get the body of the 
part speacified.but it returns all the message plus images.what should i 
do know.need to deliver this asap.help me.
Haseeb

Reply via email to