Hello, I recently had to create MS Outook msg files in Java. I've seen that Apache POI could manipulate MS Compound Binary Files (POIFS) and parse msg files (MAPIMessage), however the latter is readonly. Instead of using some proprietary API, I just wrote a simple open source library called jotlmsg <https://github.com/ctabin/jotlmsg> on top of POI that can read/write [simple] msg files and also generate javax.mail MimeMessage. The API is currently somewhat simple, but works well. So, I'm looking forward to have some feedbacks about it and if it would be useful to improve the MAPIMessage API to make it writeable :-)
Thanks & best regards, Cédric