Created attachment 32859 [details] Example HTML Message created by Outlook 2013 Hello together, i tried to read out my html content from my self created mail with outlook 2013. My test application returns null when i call the MAPIMessage.getHTMLBody() method. If you want to try to read out, you'll get the mail as attachment down below. Kind regards george
Outlook often decides to put the rich text content into the RTF rather than HTML fields, for reasons known only to itself. Can you try fetching the RTF body and see if you get your formatted message back?
Yes i can retrieve it with getRTFBody method, but i need the html formatted message. Is there any way to get it as html formatted message?
You'll need to use an RTF to HTML conversion tool then. Apache Tika is able to do that for you, amongst several options As Apache POI is correctly returning what's in your file, I'm closing the bug