So my problem is simple. When i use the latest version of javamail on a normal java program i can do execute this code :
Multipart m = (Multipart) m.getContent();
However on android ported javamail that throws an exception complaining that it cannot cast it. Is there any other ways around this? A newer version of android javamail perhaps, or another way to get body contents from a multipart email? Thanks
I have found the anwser to my own question. Using the old version on android simply works. So there is no need to change anything.