Bug: Failed to add MapiMessage to PST folder if there are more than inline 1022 images

We have an email which has 1024 inline images. I found that after 1022 inline images was added to the message, then the MapiMessage could not be added to PST.

Below is the exception:

folder.addMessages(mapiMessages);

Exception:
java.lang.NegativeArraySizeException
at com.aspose.email.jp$a.a(Unknown Source)
at com.aspose.email.jp.a(Unknown Source)
at com.aspose.email.jp.a(Unknown Source)
at com.aspose.email.agj.a(Unknown Source)
at com.aspose.email.qd.a(Unknown Source)
at com.aspose.email.qd.a(Unknown Source)
at com.aspose.email.zt.a(Unknown Source)
at com.aspose.email.FolderInfo.addMessages(Unknown Source)

Hi Billow,


Thank you for writing to Aspose support team.

Your reported issue is re-produced here using Aspose.Email for Java 5.0.0 and is logged in our issue tracking system for further investigation by the development team. You will be automatically notified about any update in this regard.

Issue ID: EMAILJAVA-33467

The issues you have found earlier (filed as EMAILJAVA-33467) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.