To convert .eml file to .msg

We are trying to convert .eml file to .msg. We are using method “com.aspose.email.SaveOptions;” of package
“com.aspose.email.MailMessage;” while trying to achieve this but are facing an “Cannot instantiate the type SaveOptions” (uploaded screenshot for reference)

Kindly note we intent to purchase the paid library for our production use once we are able to convert successfully for POC. Expecting quick reply. Thank you Aspose_1.png (8.8 KB)

Hello @vishalgandhi23,

You can refer to our documentation:

// Initialize and Load an existing EML file by specifying the MessageFormat
MailMessage eml = MailMessage.load("message.eml");
// Instantiate SaveOptions - SaveOptions.getDefaultMsgUnicode()
//Save the Email message to disk in Unicode format
eml.save("message.msg", SaveOptions.getDefaultMsgUnicode());

Also you can call the MapiMessage class fromMailMessage() method which accepts the object of the MailMessage type:

We are able to convert the .msg but we are observing some extra content being added to the actual .eml file . Attached are the screenshot for reference. Can you please confirm that this is observed because we are not using the licensed version.

I would also require costing of the service for converting .eml to .msg using java. Can you please assisst with this at the earliest.Original.png (28.8 KB)
Converted.png (35.3 KB)

Hello @vishalgandhi23,

This is extra content indicating that you are using the evaluation version. There is no such text in the licensed version.
You can also request a temporary license to test the product without restrictions.

Thank you.

Can we have a call to discuss, we need temporary license to demo for our customer and need clarification on the purchase wizard. Kindly lets me know ASAP.

Hello @vishalgandhi23,

On Aspose.Email forum we provide a technical support. On the license related issues, please, consult the Aspose.Purchase forum.

We’re sorry for any inconveniences caused!