We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Drag and Drop Message from Outlook to Java AWT/Swing App


i am evaluating the Aspose.Email for Java API. Is it possible to drag and drop a message from Outlook to an Java AWT / Swing App? Is there example code?

It seems only possible draging the message to the desktop (.msg file is created) and then into the app. I hope you have sample code on how to use the Transferable/DataFlavor AWT classes to do this directly.



I have observed your requirements and like to share that Aspose.Email is a backend API and have got no front end associated with it. The API does allow reading message from stream. You can design your front end that may allow you to drag the file in container and give you a file read in memory stream. You can then pass on stream to Aspose.Email for loading file.