ICS Attachments don't pick up the MIME Type from the FMTTYPE field

When reading an ICS file using Appointment.Load the attachments are able to be read but their MIME types are not read. These are put in the FMTTYPE field which is part of the ICS spec (iCalendar spec: 4.8.1.1 Attachment).


So Attachment.ContentType.MediaType always shows “application/octet-stream” instead of the correct value in the FMTTYPE field.

Tested using Aspose.Email v6.5.0.0

Thank you,

–Bret


Hi Bret,


Thank you for writing to Aspose support team.

No such issue is observed earlier and needs further analysis. Could you please provide us a sample ICS file for our testing here? It will help us to analyze the problem and provide assistance accordingly.
Thank you for your quick response. An example is attached.

Hi Bret,


Thank you for sharing the sample ICS file.

We tried to investigate the issue by loading appointment using the Appointment class, but it raised an exception.We have logged it as EMAILNET-35236 in our issue tracking system for further investigation by our Product team. Could you please share with us how you were able to load this using the Appointment.Load method? We can not verify your stance of attachments not picking up the MIME type from the FMTType field due to this exception and need your assistance to test this case.

Appointment.Load(appointmentStream, new AppointmentLoadOptions() { IgnoreSmtpAddressCheck = true})

Hi Bret,


Thank you for providing more information.

This issue is re-produced where wrong MIME content type is read from the ICS for the attachments. This issue is logged under Id: EMAILNET-35237 for further investgation by the product team. You will be automatically notified once any update is received in this regard.

The issues you have found earlier (filed as EMAILNET-35237;EMAILNET-35236) have been fixed in this update.


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