dave981723:
Hi, when trying to load any .eml messages I’m getting an exception -
class com.aspose.email.system.exceptions.InvalidOperationException: This is not a structured storage file.
I’ve downloaded the latest examples from github, any test involving .eml won’t work there because the resources .eml files aren’t found. See this error:
Exception in thread “main” com.aspose.email.system.exceptions.FileNotFoundException: Can’t find file: /Users/dave/IdeaProjects/Aspose.Email-for-Java/Examples/src/main/resources/email/EmailWithAttandEmbedded.eml.
This happens for these tests as well:
ReadMessageByPreservingTNEFAttachments, EmailHeaders etc
I can’t see any tests where .eml is available to test. Please let me know the status of .eml messages. Thanks.
I have solved my own problem, sorry for any inconvenience. I think all I had to do was pass EmlLoadOptions(). Thanks.
@dave981723 ,
We are revising the examples for any such issues and these will be fixed. Please feel free to write to us if you come across any other issue while working with the API.