Hi, is there any way to convert the mail content, including attachments, from the com.fsck.k9.mail.internet.MimeMessage class to the javax.mail.internet.MimeMessage class? They seem to be similar. I tried it with piped streams, but without success. Here is what I did:
com.fsck.k9.mail.internet.MimeMessage message; PipedInputStream in = new PipedInputStream(1024); PipedOutputStream out = new PipedOutputStream(in); javax.mail.internet.MimeMessage mm = new javax.mail.internet.MimeMessage( session, in); message.getBody().writeTo(out); Has anyone any clues what is wrong about this code, or is there a better solution for my problem? Regards -- -- You received this message because you are subscribed to the K-9 Mail Users List. To post to this group, send email to [email protected] To unsubscribe, email [email protected] To report an issue with K-9 Mail, visit http://code.google.com/p/k9mail/issues/list For more options, visit this group at http://groups.google.com/group/k-9-mail --- You received this message because you are subscribed to the Google Groups "K-9 Mail" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
