Outlook.Application outlookApp = new Outlook.Application(); Outlook.AppointmentItem appt = (Outlook.AppointmentItem)outlookApp.CreateItem(Outlook.OlItemType.olAppointmentItem); appt.Subject = "Testing"; appt.Body = "Test Appointment body"; appt.Location = "D"; appt.Sensitivity = Outlook.OlSensitivity.olPrivate; appt.Start = DateTime.Parse("04/22/2016 08:00 AM"); appt.End = DateTime.Parse("04/25/2016 08:00 AM"); appt.ReminderSet = true; appt.RequiredAttendees = "xxx@xxxxx.co.za;"; appt.Importance = Outlook.OlImportance.olImportanceHigh; appt.ReminderMinutesBeforeStart = 10; appt.Save();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)