ExchangeService service = new ExchangeService(); service.Credentials = new WebCredentials("username", "password"); service.UseDefaultCredentials = false; service.AutodiscoverUrl("username@mail.com", ValidateRedirectionUrl); Appointment newAppointment = new Appointment(service); newAppointment.Start = startDate; newAppointment.End = endDate; newAppointment.Subject = "Subject"; newAppointment.Body = "Body"; List<Appointment> appointments = new List<Appointment>(); appointments.Add(newAppointment); service.CreateItems(appointments, folderId, MessageDisposition.SendAndSaveCopy, SendInvitationsMode.SendToNone);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)