that's exactly what i wanted to do and i did with a sample of email inside email i had and it worked gr8 when i got to a MESSAGE part i showed it to the user as an attachment (and "hid" the inner parts of it) when he clicked it i took the subpart(0) and that part includes the actual inner email i opened a new window and showed the content to the user
but in this case, the inner part has no information (part: multipart/related) so when i part.decodepart; it, the result is nothing (FPartBody contains nothing) Original Message: ----------------- From: Lukas Gebauer [EMAIL PROTECTED] Date: Thu, 15 Feb 2007 10:13:55 +0100 To: [email protected] Subject: Re: [Synalist] what's wrong here? > i know i cant speculate > but your mime demo sis good for testing and checking > not for real life working No, it showing how are parts realy organized. If you want to do some special action like hiding some parts, then it yous worjk for your application. Synapse cannot do this! > i mean for the end user i need to show an email handling > and if a MESSAGE part is there, i want to hide the inner parts > until he chooses to see it. > with other emails inside emails it worked > this one was a bit tricky What mailer doing this? It is very stupid idea! This is message what have attached next message. Why you want to hide original message and show just attachment? If I see this message in my mail program, then i see mail message what have attached next message. It is right! Well, when i try to open attached message, then my mailer open next mail-message window, where I can see attached message. And you can do this by Synapse without any problems too! -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public -------------------------------------------------------------------- mail2web - Check your email from the web at http://link.mail2web.com/mail2web ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
