C
Cancelled Appointment meeting status
Hi,
I am creating an appointment in my Outlook Plugin code with some recipients.
All the parameter I am setting to the Appointment items are shown correctly
in the calendar entry. I am adding parameters like
subject,recipients,StartTime,EndTime,Duration,Location. But when I edit or
cancel this appointment using the Outlook UI ( not from the program ) no mail
is sent to the recipients. The calendar entry is behaving as a self
appointment rather than as a meeting request.
Following is the code used to create the appointment.
OutLook.AppointmentItem oAppointment;
oAppointment.Subject = Appoint.Message.ToString();//"Snding App"
oAppointment.Location = Appoint.Location.ToString();//"XYZ"
oAppointment.Start = AppDateTime;//
oAppointment.Duration = Appoint.DurationInMin;//30 minutes
AppDateTime = AppDateTime.AddMinutes(Appoint.DurationInMin);
oAppointment.End=AppDateTime;
oAppointment.Recipients.Add([email protected]);//Receipient
oAppointment.MeetingStatus = OutLook.OlMeetingStatus.olMeeting;
oAppointment.Save();
Can someone help me to sole the Issue ?
-Jainish C S
I am creating an appointment in my Outlook Plugin code with some recipients.
All the parameter I am setting to the Appointment items are shown correctly
in the calendar entry. I am adding parameters like
subject,recipients,StartTime,EndTime,Duration,Location. But when I edit or
cancel this appointment using the Outlook UI ( not from the program ) no mail
is sent to the recipients. The calendar entry is behaving as a self
appointment rather than as a meeting request.
Following is the code used to create the appointment.
OutLook.AppointmentItem oAppointment;
oAppointment.Subject = Appoint.Message.ToString();//"Snding App"
oAppointment.Location = Appoint.Location.ToString();//"XYZ"
oAppointment.Start = AppDateTime;//
oAppointment.Duration = Appoint.DurationInMin;//30 minutes
AppDateTime = AppDateTime.AddMinutes(Appoint.DurationInMin);
oAppointment.End=AppDateTime;
oAppointment.Recipients.Add([email protected]);//Receipient
oAppointment.MeetingStatus = OutLook.OlMeetingStatus.olMeeting;
oAppointment.Save();
Can someone help me to sole the Issue ?
-Jainish C S