Under what conditions can MapiMessage#getMessageClass return null?


#1

I have some code which does MapiMessage.fromFile(fileName).getMessageClass() using aspose-email for java 19.7 and it is returning null for that String value.

Under what circumstances is that expected behavior?

Thanks!


#2

@cemeyer2,

I request you to please share the sample MSG file and working sample code with us so that we may investigate it further on our end. I also suggest you to please first try using latest Aspose.Email for Java 19.8 as well on your end.


#3

@mudassir.fayyaz

I tried with 19.8 and got the same null back. the msg is attached here

MapiMessage.fromFile(fileName).getMessageClass()

is returning null for this msg

null_messageClass.msg.zip (2.6 KB)


#4

@cemeyer2,

I have observed the sample file shared by you. An issue with ID EMAILJAVA-34580 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.