We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Email reading exception


we experience an issue when we try to load the attached email message (same with v3.6 and v3.9), this is the code we use:

MailMessageLoadOptions loadOptions = new MailMessageLoadOptions();
MailMessage message = MailMessage.load(filePath, loadOptions);

and this is the exception we get:

Caused by: com.aspose.email.ms.System.ArgumentNullException: src or dst is null
at com.aspose.email.ms.System.d.a(Unknown Source)
at com.aspose.email.ok.p(Unknown Source)
at com.aspose.email.ok.n(Unknown Source)
at com.aspose.email.of.c(Unknown Source)
at com.aspose.email.of.a(Unknown Source)
at com.aspose.email.of.b(Unknown Source)
at com.aspose.email.MailMessage.f(Unknown Source)
at com.aspose.email.MailMessageInterpretor.loadMessageHeader(Unknown Source)
at com.aspose.email.MailMessageInterpretor.interpret(Unknown Source)
at com.aspose.email.MailMessage.b(Unknown Source)
at com.aspose.email.MailMessage.load(Unknown Source)

Thanks in advance for any help.



I have investigated this issue with the latest version of Aspose.Email for Java 3.9.0 and was able to observe the issue as you have mentioned. I have logged it as NETWRKJAVA-33361 in our issue tracking system for further investigation by our development team and will update you here once there is some information available in this regard.

We regret the inconvenience caused to you.

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

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