Example of parser using Mime4j 0.7.2 version

807 views Asked by At

I've a lot of .eml files and need to parse them. I'm using mime4j version 0.6.1 and wanna to update to version 0.7.2, but cannot find any good sample.
I read post apache mime4j maven dependency for 0.7.2 and it helped me to get right maven dependency. But it's still a lot of problems with new methods. For example in version 6 class Multipart got method getBodyParts and return List<BodyPart>, and now it returs List<Entity>.
Does anyone have good example how to parse SMTP (eml) email with mime4j 0.7.2?

0

There are 0 answers