I have a text file of the original source of the letter (just copied from gmail, if you click "View original", you will see it). I want to read this file and convert it to MimeMessage.
If you are wondering why, I have JavaMaildir and you need to fill in the inbox with email for testing purposes. I never read files and all that, so any help would be greatly appreciated.
source
share