Cannot accept new proposed times for appointments 5.1.0.0 (C# .NET)

Hi,

We are using version 5.1.0.0 of Aspose.Email.

We use Aspose to send out calendar appointments. We send out two separate appointments, one for the organiser and another for all other attendees. When an attendee proposes a new time for the meeting the organiser is not able to accept the newly proposed time. “Accept Proposal” and “View All Proposals” buttons are disabled.

image.png (15.8 KB)

we looked into the .ics files of both the organiser’s appointment as well as the attendees’s appointment. We compare them to see that UID is the same across both these files.

Another thing we noticed is that, if the attendee follows the below steps before sending out a new proposed time, then the organiser will be able to accept the newly proposed time.

  1. Export the attendees appointment as .ics file.
  2. Delete the current appointment from outlook calendar
  3. Import the exported appointment back into outlook calendar.
  4. Propose new time using the newly imported appointment.
  5. Now, the organiser will be able to accept the newly proposed time.

OrganiserAttendeeICS (2).zip (13.5 KB)

Attached the .ics files of both the organiser and attendee appointments.

Any help would be appreciated.

Thanks

@sannip,

We were able to reproduce the issue you reported and have logged a ticket in our issue tracking system as EMAILNET-39099. We will update you here as soon as we have additional information.

Any update on this?

Thanks,

@sannip,

The issue is under investigation. It is expected to be fixed in the upcoming release of Aspose.Email 18.9 at the end of September. We will update you as soon as additional information is available.
We are sorry for the inconvenience.

Thanks for the update.

The issues you have found earlier (filed as EMAILNET-39099) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

Hi,

This fix did not work for us(trail version of 18.9).

We send out two separate appointments, one for the organiser and another for all other attendees. The reason for this being we need to have some extra information added to organisers email, that should not be seen by all other attendees.

  1. In the organiser appointment, we set the organiser to “noreply@testorg.com.au” and the attendees to the organisers email. I tried setting the organiser to the actual organisers email instead of “noreply@testorg.com.au”. But this does not work and it gives me an error in outlook “Meeting cannot be found in Calendar”.
    MeetingNotFound.png (7.9 KB)

  2. In the attendees appointment, we set the organizer to the organisers email and attendees to all attendees except the organiser.

Attaching the ICS files for organiser and attendees.

OrganiserAttendeeICS.zip (17.8 KB)

We noticed is that, if the organiser follows the below steps, then the organiser will be able to accept the newly proposed time.

  1. Export the organisers appointment as .ics file.
  2. Modify the organiser in ICS file from “noreply@testorg.com.au” to the actual organisers email.
  3. Delete the current appointment from organisers outlook calendar.
  4. Import the exported appointment back into outlook calendar.
  5. Now, the organiser will be able to accept the newly proposed time sent by other attendees.

So, I think the issue here is the organiser is not same on both the appointments(UID is still the same).
Is there any way that we could send out two different appointments but still get the propose new time functionality to work.

Thanks,

@sannip,

We have tested this scenario. The solution is to use a single appointment. We were unable to reproduce the issue of meeting not found. If possible, please provide the sample code that you are using to create the appointments so that we can assist you further.

Thanks for the reply.

We cannot use single appointment as we need to show additional information on organiser’s email that cannot be seen by attendees.

To reproduce “Message not found” issue,

  1. Use single appointment for both organiser and attendee.(Also, seen when using different emails for organiser and attendees).

  2. Add organiser as an attendee to the MailMessage and Appointment.
    Below is the code that I use to send email. We are using Microsoft Outlook 2010.

         var mailMessage = new MailMessage
         {
             From = new MailAddress("organiser@testOrg.com.au"),
             To = new MailAddressCollection { new MailAddress("attendee1@testOrg.com.au"), new MailAddress("organiser@testOrg.com.au") },
             Subject = "subject",
             Body = "<span>sample test</span>",
             IsBodyHtml = true,
             ReplyToList = new MailAddressCollection { new MailAddress("organiser@testOrg.com.au") }
         };
    
         var appointment = new Appointment(
             "Location",
             DateTime.Now.AddHours(1),
             DateTime.Now.AddHours(2),
             mailMessage.From,
             mailMessage.To)
         {
             Summary = "test",
             Description = "test",
             UniqueId = "CM0001"
         };
    
         mailMessage.AddAlternateView(appointment.RequestApointment());
    
         var smtpClient = new SmtpClient("mail.testOrg.com.au", 25);
         smtpClient.Send(mailMessage);
    

Attaching the ICS file saved from attendees outlook.
Attendee1 ICS file.zip (26.9 KB)

Thanks,

@sannip,

Please try the solution given below using the latest version of Aspose.Email for .NET API.

Step 1: Create an appointment and send it to the Organizer and the Attendees

Appointment appointment = new Appointment(
"Meeting Room 3 at Office Headquarters",// Location
"Monthly Meeting",                      // Summary
"Please confirm your availability.",    // Description
new DateTime(2018, 10, 22, 13, 0, 0),     // Start date
new DateTime(2018, 10, 22, 14, 0, 0),     // End date
"OrganizerEmail", // Organizer
ToAddressCollection);                // Attendees

appointment.UniqueId = "CM0001";

MailMessage mailMessage = new MailMessage("OrganizerEmail", ToAddressCollection.ToString(), "Test Appointment", "Test Appointment");

mailMessage.AddAlternateView(appointment.RequestApointment());
smtpClient.Send(mailMessage);

Step 2: Create an appointment and send it to the Organizer only.

Appointment appointment = new Appointment(
"Meeting Room 3 at Office Headquarters",// Location
"Monthly Meeting",                      // Summary
"Please confirm your availability.",    // Description
new DateTime(2018, 10, 22, 13, 0, 0),     // Start date
new DateTime(2018, 10, 22, 14, 0, 0),     // End date
"OrganizerEmail", // Organizer
"OrganizerEmail");                // Attendees

appointment.UniqueId = "CM0001";

MailMessage mailMessage = new MailMessage("OrganizerEmail", "OrganizerEmail", "Test Appointment", "Test Appointment Additional Message");

mailMessage.AddAlternateView(appointment.RequestApointment());
smtpClient.Send(mailMessage);

Step 3: Propose a new time.

We hope that this fixed the issue you were facing. We are looking forward to your feedback.

Thanks for the quick response.

I still see the same issue “Meeting cannot be found in calendar”.

I see this issue, when organiser is same as the attendee which is the case with step 2. Attaching the outlook message of organiser.
aspose.png (13.8 KB)

Are you not able to see this issue, when we set organiser and attendee to the same email?

@sannip,

We were using Outlook 2013 for our testing. Maybe the issue is with Outlook 2010. We will test it on Outlook 2010 and update you accordingly.

Any updates on this? Did you test this with outlook 2010?

@sannip,

We apologize for the inconvenience. We are configuring a sand boxed environment to test this scenario. We will update you as soon as additional information is available.

@sannip,

We apologize for the inconvenience. There were some technical difficulties while testing on Outlook 2010 but we were able to reproduce the “Meeting cannot be found in calendar” issue in Outlook 2013. We have logged this issue as EMAILNET-39149 in our issue tracking system for further investigation. We will update you as soon as additional information is available.

Any update on this?

Thanks

Thank you for your inquiry.

The issue is pending analysis due to other pending issues in the queue which were logged previously. Please note that issues under free/normal support model are resolved on first come first serve basis and have low priority unlike the paid/priority support where issues are dealt with high priority. As soon as we have some information regarding the issue, we will let you know. We are sorry for the inconvenience. Please give us some time.

In the meantime, please share the steps that you would take to generate such appointments using Outlook without using Aspose.Email API.

Any updates on this?

Even if I use a single appointment,
I see that no meeting requests are sent to the organiser, if not added as an attendee.
And If I add organiser as both attendee and organiser in the appointment, the organisers calendar shows “Meeting not found in calendar” error.(As already mentioned earlier).

Any other way to just send the organiser the same email as attendees and add the appointment to every ones calendar(organiser and attendees).

var mailMessage = new MailMessage
 {
     From = new MailAddress("organiser@testOrg.com.au"),
     To = new MailAddressCollection { new MailAddress("attendee1@testOrg.com.au"), new MailAddress("organiser@testOrg.com.au") },
     Subject = "subject",
     Body = "<span>sample test</span>",
     IsBodyHtml = true,
     ReplyToList = new MailAddressCollection { new MailAddress("organiser@testOrg.com.au") }
 };

 var appointment = new Appointment(
     "Location",
     DateTime.Now.AddHours(1),
     DateTime.Now.AddHours(2),
     mailMessage.From,
     mailMessage.To)
 {
     Summary = "test",
     Description = "test",
     UniqueId = "CM0001"
 };

 mailMessage.AddAlternateView(appointment.RequestApointment());

 var smtpClient = new SmtpClient("mail.testOrg.com.au", 25);
 smtpClient.Send(mailMessage); 

Thanks,

@sannip,

I have worked over your requirements and have created an issue with ID EMAILNET-39415 as enhancement to further investigate the requirements. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Any update on this?