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>

Reply via email to