No attendees found in .ics


#1

Hello Aspose,

We have a visitor management system that uses the Aspose Email software to read incoming meeting requests from a mailbox. We fetch the .ics file from the mail and load this into an Aspose Appointment object. Once we have the Appointment object, we use that information to create a visit registration in our system. In most cases this works just fine but we see that some Appointment objects don’t have any attendees when there should be.

The attendees are visible in the .ics file but not loaded into the Appointment object. I compared 2 .ics files, one that works and one that doesn’t and there is some difference in the way the attendees are listed.

Working .ics file:
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:16010101T030000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=Noel Vroninks:MAILTO:xxxxx@seris.be
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Frederik W
inters:MAILTO:xxxxx@riskmatrix.be
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Lander Van
welkenhuyzen:MAILTO:xxxxx@riskmatrix.be
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xxxxx@my
seris.be:MAILTO:xxxxx@myseris.be
DESCRIPTION;
SUMMARY;LANGUAGE=en-US:RMR - Bekaert
DTSTART;TZID=Romance Standard Time:20190305T110000
DTEND;TZID=Romance Standard Time:20190305T130000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20190214T133224Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION;LANGUAGE=en-US:SERIS HQ Diegem
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:688793571
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DONOTFORWARDMEETING:FALSE
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MICROSOFT-LOCATIONS:
BEGIN:VALARM
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR

Not working .ics file:
BEGIN:VCALENDAR
PRODID:Google Mail Tnef Converter 1.0
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ORGANIZER;CN=“Noel Vroninks”:mailto:xxxxx@seris.be
DTSTART:20191017T061600Z
DTEND:20191017T062900Z
ATTENDEE;CN=“Bert Smeets”;ROLE=REQ-PARTICIPANT:mailto:xxxxx@riskmatrix.be
ATTENDEE;CN=‘xxxxx@gmail.com’;ROLE=REQ-PARTICIPANT:mailto:xxxxx@gma
il.com
ATTENDEE;CN=‘xxxxx@myseris.be’;ROLE=REQ-PARTICIPANT:mailto:xxxxx@myseri
s.be
UID:040000008200E00074C5B7101A82E00800000000C0AD914B3184D501000000000000000
010000000C16DD172ABC86748B03AC2A45D988855
SUMMARY:
LOCATION:
DESCRIPTION:
LAST-MODIFIED:20191016T133705Z
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20191016T133708Z
END:VEVENT
END:VCALENDAR

Why does the second one show an empty list of Attendees? All other parameters like Organizer and Location are available in the Appointment object for both .ics files.

Thank you for your feedback.


#2

@bert.s,

I have observed your requirements and request you to please try using latest Aspose.Email for 19.9 on your end. In case there is still an issue then please share the working sample project along with source files reproducing the issue so that we may investigate them further on our end to help you out.


#3

@mudassir.fayyaz,

We already tried the latest version of Aspose.Email (19.9) but without any success. It’s difficult to give a full working project that reproduces the error but I’ve added a part of our code that fetches the email and creates an Appointment object.
CheckForNewMails.zip (863 Bytes)

I hope you can work with this.


#4

@bert.s,

Can you please share the working and non working ICS files so that we may proceed with investigation. Without ICS file that is creating issue for you, we may not be able to investigate the issue .


#5

@Adnan.Ahmad,

In my first post I added the working and non working ICS files, I only changed the email addresses due to privacy regulations but this shouldn’t change the outcome of the tests.


#6

@bert.s,

Thank you for sharing the information. An issue with ID EMAILNET-39622 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


#7

@bert.s,

We have investigated the issue on our end. The reason of this issue is, “incorrect folding of long lines in ics file”.

ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xxxxx@my
seris.be:MAILTO:xxxxx@myseris.be

The 2-nd line must start from space or tab symbol, please see RFC. Can you please try following:

  1. Fetch incorrect ics file using Outlook and send to us for investigation.
  2. Turn on logging while working with Imap client as described here and send log file to us for investigation.

#8

In my first post I already included the incorrect ics file. I also ran the example project and attached the log file to this post.

I hope you can find a solution to this problem.

Kind regards,

Bert

Aspose.Email.IMAP_2019-11-06.log.zip (36.4 KB)


#9

@bert.s,

Thanks for sharing requested files.


#10

@Adnan.Ahmad,
@mudassir.fayyaz,

I see that the status of the issue is “Resolved” but I did not receive any feedback on how to fix this problem. Are you still working on this or did I miss something?

Kind regards,

Bert


#11

@bert.s,

You are right about issue being resolved. However, it has been marked as resolved in upcoming Aspose.Email for .NET 19.11. We will share the notification with you as soon as the product will be shared online.