Error in reading html body of email tfileinputmail
I am getting the following error message when trying to extract the html body of a .msg file using tfileinputmail: Exception in component tFileInputMail_1 org.apache.poi.hsmf.exceptions.ChunkNotFoundException: Chunk not found at org.apache.poi.hsmf.MAPIMessage.getStringFromChunk(MAPIMessage.java:177) at org.apache.poi.hsmf.MAPIMessage.getHtmlBody(MAPIMessage.java:203) at org.talend.msg.utils.MsgMailUtil.processMessage(MsgMailUtil.java:97) at projectname.m_0_1.m.tFileList_2Process(m.java:2322) at projectname.m_0_1.m.runJobInTOS(m.java:3247) at projectname.m_0_1.m.main(m.java:3104) It seems to work fine If i select the 'body' and 'rft body' mail parts. Any clue as to what the issue could be?
Re: Error in reading html body of email tfileinputmail
See attached screenshot with tfileinputmail settings. Unfortunately I can't rename the .msg files as .mail files as there are roughly 100k of them archived on the file server in various directories. I don't know how I could accomplish this systematically.