using Outlook=Microsoft.Office.Interop.Outlook;
Outlook.Application appln = new Microsoft.Office.Interop.Outlook.Application();
Outlook.AppointmentItem agendaMeeting = (Outlook.AppointmentItem)
appln.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olAppointmentItem);
if (agendaMeeting != null)
{
agendaMeeting.MeetingStatus =
Microsoft.Office.Interop.Outlook.OlMeetingStatus.olMeeting;
agendaMeeting.Location = "Conference Room";
agendaMeeting.Subject = "Discussing the Agenda";
agendaMeeting.Body = "Let's discuss the agenda.";
agendaMeeting.Start = new DateTime(2009,09, 04, 13, 0, 0);
agendaMeeting.Duration = 60;
Outlook.Recipient recipient =
agendaMeeting.Recipients.Add("xx@streme.tv");
agendaMeeting.Recipients.Add("xxx.c@streme.tv");
recipient.Type =
(int)Outlook.OlMeetingRecipientType.olRequired;
((Outlook._AppointmentItem)agendaMeeting).Send();