I'm creating java MIMEMessage object from input stream. It is getting constructed properly without any problem.
I'm also able to fetch body and attachments. But the problem is, when I receive some emails with some different formating, like from iPhone or from Blackberry, my parsing fails.
I'm parsing Java MIMEMessage by myself.
Here I need a standard library which can parse Java MIMEMessage and provides me body and attachments.
Can anybody suggest me any library which can cater the unexpected email formats?