> attached an eml file i got as attachment (email inside email) > as u can see there are several headers > a space line > and then some more headers (the important ones) > a space line > the email itself (i cut it off)
If message part headers begins by line "Content-Type: message/rfc822;", then all is OK and Synapse parsed it correctly here. This is special message part type what contains next full RAW message (include their headers) as message part content. Firtsy set of headers describe message part type as 'RAW message', next is empty line and next is message part content, what contains headers and content of this message. Try to use my MIME decoding demo fot this and see, how it is decoded by Synapse. Synapse have four generic mime types, what is signalised by PrimaryCode property. It is MP_TEXT (part contains text), MP_MULTIPART (part contains some subparts), MP_BINARY(part contains some binary content) and MP_MESSAGE (part contains next mail message, what is parsed as one subpart). Sure, if this attachment is sended correctly (I not know it, you not send here full message, just this part), then it is really correctly parsed by Synapse, as you can verify it by my MIME demo. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
