c# - Cancelling Google caledar event by iCal -
i have used dday.ical library in .net send event.
sending event working fine , event can added google calendar, cancelling event, after sending cancellation email, event still in google calendar.
could please guide me how cancel google calendar event ical?
this event file:
begin:vcalendar version:2.0 prodid:-//ddaysoftware.com//nonsgml dday.ical 1.0//en begin:vevent description:a dtend:20130820t180000 dtstamp:20130820t050748z dtstart:20130820t180000 sequence:0 summary:a uid:c7da09c3-12c3-4e6c-8ab4-4c9bdede2221 end:vevent end:vcalendar
this cancellation event file
begin:vcalendar version:2.0 prodid:-//ddaysoftware.com//nonsgml dday.ical 1.0//en method:cancel begin:vevent description:acancel dtend:20130820t180000 dtstamp:20130820t050748z dtstart:20130820t180000 sequence:1 status:cancelled summary:acancel uid:c7da09c3-12c3-4e6c-8ab4-4c9bdede2221 end:vevent end:vcalendar
you missing mandatory properties organizer , attendee in both original event , in cancellation. see http://tools.ietf.org/html/rfc5546#section-3.2.5
then, dont indicate full email looks like. example, have method=cancel in content-type of icalendar bodypart ? should like:
content-type: text/calendar; method=cancel; charset=utf-8;component=vevent
Comments
Post a Comment