i explained why i didnt use subpart got no response from you
one sample i had (simple eml inside email), did work with what u said: simply
take the subpart and show it. BUT, in another sample i had (and u said yourself
it can be a free tree structure inside that part) it didnt work. why? bcoz in
the same level of that subpart (where eml information was) i had another
subpart which was an image, and the image was related to the eml part and not
the original email itself. if i took only the subpart of the eml, i would lose
the part with the image, and in other cases, mayb lose some more parts on the
way.
in your mimedemo, where u simply go through all parts and show them, it works
perfect
but since, in my case, i want to "hide" for the user all the inside parts of
the eml part
i needed to not go inside that part, until the user actually clicks it (i show
it to the user as an attachment). so what u did in mimedemo, does not fit my
needs.
i wrote that i know its not the right solution (but for now, its the only 1
that works)
so the dramatic response was unnecessary
______ 18/02/2007 21:26:14, Lukas Gebauer - [EMAIL PROTECTED] ___:
> about the problem when i have an eml file inside an email
>
> if i simply go through the content of the eml (raw data) (remember it
> contains headers of the part from original email, space line, headers of
> itself, space line, content of attached email) and remove the first space
> line (between part's headers and eml headers) then everything is shown,
> even unicode content and headers of the eml file.
Oh my god... Did you know what you are doing? How you can combine message
part headers with headers of included mail message?
Did you ever read some RFC about MIME? You must know MIMe basics before
you begin with e-mail programming. It is very essencial!
> i know this is not the right way to do it, but for now, this is the only
> way of making it work correctly
Only right way is open subparg with included mail message. Why you not do
this? You must see this way on mimedemo...
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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