When creating a new appointment is it possible for a calendar entry to be created for the organizer of the event. It does not seem to do this by default?
The organizer will be using Outlook to view this.
When creating a new appointment is it possible for a calendar entry to be created for the organizer of the event. It does not seem to do this by default?
The organizer will be using Outlook to view this.
Hi Paul,
Thank you for writing to us.
If you are sending the appointment, then specifying the appointment organizer as follow shall automatically add its entry to the calendar. Please have a look at the following code sample and let us know your feedback.
// create Appointment instance
Appointment app = new Appointment(
"Room 112", // location
DateTime.Now.AddDays(1), // start time
DateTime.Now.AddDays(2), // end time
"organizer@domain.com", // organizer
"attendee@domain.com" // attendee
);
app.Summary = "Release Meeting";
app.Description = "Discuss for the next release";
app.Save("Appointment.ics", AppointmentSaveFormat.Ics);
MailMessage msg = new MailMessage("organizer@domain.com", "recipient@domain.com", "Test subject", "Test body");
msg.AddAlternateView(app.RequestApointment());
ExchangeWebServiceClient client = GetAsposeEWSClient2();
client.Send(msg);
I have tried the sample code provided. The appointment does not show up in the organizers Outlook calendar. They receive no notification of the event.
Hi Paul,
I am now using ExchangeWebServiceClient howerver it seems to always set the organizer as the current user who is sending the message/appointment.
Hi Paul,