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"
Exception that we get:
com.aspose.email.system.exceptions.ArgumentNullException: The name of attachment can’t be null or empty.
Parameter name: name
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.