I have msg file which have html mark up if I view it using Outlook “view source”. How can I get this markup using java (what happens when I press view source?)? As far as I see MAPIMessage from apache.poi is useless in this case.
Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you want the getHtmlBody() method on MAPIMessage – that should give you a single String back containing the HTML source (if present)