Creating an outlook msg file from java

Hello I am evaluating aspose.network for java. I need to create msg files, then pass this to javas new Desktop.open, so it opens the message in outlook.

I need to create an msg file that has (possibly) multiple attachments. The attachments for me are in an SQL database, but I can also write them to files on disk if needed.

It seems there are good methods to extract files from an existing msg files to disk. Are there methods to add files on disk to a newly created MapiMessage ?

I tried overloading the MapiAttachment class so it returned the things I wanted, then doing a mapiMessageFile.getAttachments().add(outlookMessageAttachment); but alas, that produces a corrupt msg File.

Sorry to be stuck here!

-Dave


This message was posted using Aspose.Live 2 Forum

Hello Dave,


I am sorry, adding new attachments to an MSG file is not supported at the moment. This issue is already logged in our bug tracking system (ID: 20185). We will inform you when it will become available. Sorry for the inconvenience.


I am also interested by this feature, but I’m evaluating your product too.

We can follow your bug tracking system? Or it’s just for aspose’s developpers?

Thank you

Hi,

Thank you for inquiry.

The bug tracking system is only for our internal usage. We only tell the Bug/Issue IDs to customers on the forums. The forum posts are also associated with the Bug, so that when a bug is fixed, the relevant customers are also updated.