I am evaluating the Java aspose-email library. I am able to load an Outlook msg file using MapiMessage msg = MapiMessage.load(inputStream), add I am able to add some attachments to that Outlook msg, but I don’t see how I can get the resulting msg bytes[] in code after adding the new attachments?
The only way I can see to accomplish this is to use the API save(…) method, to save the Outlook msg to a file, and then read the file again using Java I/O. However, I don’t want to spend the time doing file I/O to accomplish this, is there anyway from the API to get the newly built Outlook msg in code without using the save(…) method and re-reading the file? Thanks.