Hi,
we have a MSG message which was extracted from one of our clients PST file but failed to be converted to MIME (MailMessage) with the following message “The name of attachment can’t be null or empty.” but when we took that MSG file and put it to new PST file and then extracted it again and convert it to MIME, we didn’t get any problems and we get correct headers for .ics attachment:
Content-Type: text/calendar; name=“meeting.ics”; method=“REQUEST”; charset="utf-8"
Content-Transfer-Encoding: base64
Exception that we get:
com.aspose.email.system.exceptions.ArgumentNullException: The name of attachment can’t be null or empty.
Parameter name: name
com.aspose.email.MapiAttachmentCollection.add(Unknown Source)
com.aspose.email.MapiCalendar.(Unknown Source)
com.aspose.email.MapiMessage.toMapiMessageItem(Unknown Source)
com.aspose.email.AppointmentMailMessageInterpretor.interpret(Unknown Source)
com.aspose.email.MailMessage.b(Unknown Source)
com.aspose.email.MailMessage.a(Unknown Source)
com.aspose.email.MailMessage.load(Unknown Source)
I am not able to provide this MSG file that is causing the problems cause it is our clients data but if you don’t have any ideas about the problem that we are experiencing I can try to get approval to give you that MSG file.
Thank You
Kind Regards,
Nikola Trkulja