c# - EWS sends invitations to everyone when removing a required attendee -
i have following code:
(meeting beeing exchange appointment)
for each recipient string in emailadresses integer = 0 meeting.requiredattendees.count - 1 if (meeting.requiredattendees(i).address).toupper() = recipient.toupper() meeting.requiredattendees.removeat(i) exit end if next next meeting.update(conflictresolutionmode.autoresolve, sendinvitationsorcancellationsmode.sendonlytochanged)
now can see i'm using sendinvitationsorcancellationsmode.sendonlytochanged.
but though i'm using mode still sending appointment of attendees.
i've looked @ msdn , code same. , msdn tells me following should happen:
save meeting , send meeting cancellation message attendee or attendees removed
so msdn sais works not. there work around issue or else experiencing same problem?
our exchange server 2007 sp1 version.
the answer can in c# or vb.net, i'll translate language need.
ps. adding members , using mode causes invite send newly added member only. said before deleting not have same behaviour.
doing:
meeting.update(conflictresolutionmode.neveroverwrite, sendinvitationsorcancellationsmode.sendonlytochanged)
instead of:
meeting.update(conflictresolutionmode.autoresolve, sendinvitationsorcancellationsmode.sendonlytochanged)
solved problem, not know why , having trouble though.
Comments
Post a Comment