HI, I am creating, updating and cancelling a meeting by setting up a SmtpClient and use the Appointment class and msg.AddAlternateView(appointment.CancelAppointment(2)) method.
When I cancel it, the meeting is deleted from Outlook, but I receive 2 emails (one for cancelling and another one that is dated the moment I created the email). Could you explain why?
This is the code:
// Set up Aspose Netwrok client - NO SMTP AUTHENTICATION
Aspose.Network.Mail.SmtpClient client = new Aspose.Network.Mail.SmtpClient(exchange, 25);
client.AuthenticationMethod = Aspose.Network.Mail.SmtpAuthentication.None;
Aspose.Network.Mail.MailMessage msg = new Aspose.Network.Mail.MailMessage();
//use Appointment class instead
Aspose.Network.Mail.Appointment appointment = new Aspose.Network.Mail.Appointment(location, finalStartDate, finalEndDate, schedulerEmail, attendees);
appointment.UniqueId = appointmentRequestId.ToString();
// Send Appointment