Unable to load Email .msg on Mac

Hi ,

I am not able to load any msg file on Mac . I can’t even get the preferred encoding type

This is my code and exception . Any help is greatly appreciated .

MailMessage message = new MailMessage(); message.getPreferredTextEncoding();



Exception in thread "main" java.lang.ExceptionInInitializerError

at com.aspose.email.MailMessage.getPreferredTextEncodingInternal(Unknown Source)

at com.aspose.email.MailMessage.getPreferredTextEncoding(Unknown Source)

at com.inymbus.dn.core.sandbox.AsposeTest.main(AsposeTest.java:31)

Caused by: java.lang.IllegalArgumentException: 'MacRoman' is not a supported encoding

at com.aspose.email.private.e.d.b(Unknown Source)

at com.aspose.email.private.e.d.(Unknown Source)

... 3 more


Hi srinivasa,


Thank you for using Aspose.Email.

We are investigating this issue and would request you to spare us a little time to share our findings with you. Meanwhile, can you please tell us which version of Mac and Java you are using?

We appreciate your patience in this regard.

Hi ,

I changed the encoding to “UFT-8” (from macroman) in my eclipse . It works fine . You can close the ticket

Thanks
Srini

Hi Srini,


Thank you for the feedback.

It’s good to know that your issue is solved now. Please feel free to write to us if you have any query. We will be glad to assist you as soon as possible.