Heya everyone!
It’s been a long time since I’ve been on this forum. But I hope someone here can help me with some problems I encountered when upgrading our old Lucee instance to the new Lucee 7.
I had some code that reads a MSG file and extract some meta-data, body and attachments. I remember years back I had all the jar files that are needed, but these don’t seem to work anymore.
It’s understandable that POI is a large library and give a lot of dependencies problems but I hope there is a workaround possible.
I tried these newer JAR files:

but then I get a “No Bundle provided” error. I have placed them in “C:\lucee\tomcat\lucee-server\context\lib”
I am trying to call the following code btw:
msg = createObject("java", "org.apache.poi.hsmf.MAPIMessage");
I tried to use the POI library in the cfspreadsheet library but the HSMF portion doesn’t exists.
Main question
Is it possible to use this route to read a MSG with POI or is this a lost cause?
I tried looking for some external CLI tool that I can use to convert a MSG to EML but that’s also a niche market. Also saw that you can use Maven dependencies inside a component but it will probably fail on POI conflict. I just hope I can load these jar files in their own scope just to read the MSG file but I don’t know if that’s possible.
Thanks in advance!