My code is as follows:
message = MailMessage.load(inputFile, MessageFormat.getMsg());
The following exception is thrown:
Exception in thread “main” java.lang.NullPointerException
at com.aspose.email.Appointment.a(Unknown Source)
at com.aspose.email.Appointment.b(Unknown Source)
at com.aspose.email.AppointmentMailMessageInterpretor.interpret(Unknown Source)
at com.aspose.email.MailMessage.b(Unknown Source)
at com.aspose.email.MailMessage.a(Unknown Source)
at com.aspose.email.MailMessage.load(Unknown Source)
I have attached the email giving the error.
Could you please look into it?