i have this email i uploaded here:
http://download.yousendit.com/D04E8B7E50CC4949
mimedemo does show the tree but still i have a problem
when i open this email i have 2 attachments:
text2.html with html content
message3.txt with text content. - this part seems to have eml format
and the part.primary is MESSAGE.
after the previous email i sent here and samples i had, i realize that in case
this is a MESSAGE primary part, i should take part.getsubpart(0) that actually
contains the eml information and handle this part and show it to the user (as
an email inside email).
in other cases it worked. for this email, it seems to be different.
in the MESSAGE part i have 2 parts, the eml information and an image (that i
dont know where exactly it connected) and when i call part.decodepart; (part is
now part.getsubpart(0))
in line: case FEncodingCode of = the result is: ME7BIT
so it executes the line: s := FPartBody.Text;
FPartBody contains several crlf characters so the decoding results with nothing
while part.lines.text does contain eml format.
so i get nothing in result
mimedemo does take all parts as it should
but in my case, i want to show the eml part as 1 attachment
and only if the user double clicks it, i want to open it and show the
"inside email" content.
im not sure if the file is invalid or am i doing sth wrong
please advice
-------------------------------------------------------------------------
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