james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rustam Aliyev <rus...@code.az>
Subject MIME part size
Date Sat, 16 Jul 2011 12:12:16 GMT
Hi,

First of all, sorry for addressing this question to the dev group, but I 
was unable to find any mime4j user groups.

I need to get MIME part size (e.g. size of attachment/BinaryBody) but 
can't figure out how to do it. At the moment I use DOM parser and then 
read through part.getBody().getInputStream() to calculate its size. 
Clearly this is not the best way.

Also, is it possible to get mime encoded size as well as original 
(decoded) size?

PS: I'm using latest 0.7 snapshot.

Regards,
Rustam.

<http://www.linkedin.com/in/aliyev>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message