Attachments in a icalendar (ics) file created by Google Calendar could not be found

Bugreport:

I’m using Aspose.Email 17.9.0.0 for .NET (C#).

When a appointment/invite is created in Google Calendar, with an attachment attached to it, the following line is added to the ics file that is created and sent to the attendees:

ATTACH;FILENAME=test.txt:[https://drive.google.com/a/termors.com/file/d/123456123456/view?usp=drive_web ](https://drive.google.com/a/termors.com/file/d/123456123456/view?usp=drive_web)

When I read the ics file using Apose.Email, the number of attachments is zero (Appointment.Attachments.Count).

@gtermors,

The attachment file you have attached here is not available for download. Could you please reattach the file here for further investigation at our end?

Here is the original link:

ATTACH;FILENAME=test.txt:https://drive.google.com/file/d/1X7g-ddkSwnmvymItGIfKXWWQf6tKQUYB/view?usp=sharing

@gtermors,

We are sorry to let you know that we are unable to understand the problem you are facing. Are you reading the ICS file using Aspose.Email API? If so, please share the input ICS file to which you have attached the attachment file.

Here’s the complete ICS file.
The attachment in the ICS file is a reference to a Google Drive file and isn’t recognized by Aspose.Email.

invite_ics.zip (963 Bytes)

@gtermors,

Thank you for sharing the sample file.

When such an invite is created using Google Calendar, it adds a reference to the included attachment to a Google Drive file and the attachment is not added to the ICS file itself. Such attachments are not included in the ICS file by MS Outlook as well. Aspose.Email API also exhibits the same behavior and linked attachments are not considered as attachments by the API. Please let us know if you have any further query in this regard.