Hi,
I've got problem with sending free appointment to Exchange. When I send standard meeting request there is no problem - attendees see tentative event and after acceptation they see busy event in calendar.
I want now send from code appointment that will be set as free in calendar at once for attendees. If I send that request from Outlook there is no problem. But when I save that message as text (.ics file), copy content to string and send it from code - the appointment is tentative (before acceptation) or busy (after acceptation by default) after receive.
I use following e-mail content:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VEVENT
ATTENDEE;CN="Test Test2":mailto:test2@test.com
CLASS:PUBLIC
CREATED:20130213T073513Z
DESCRIPTION:\n
DTEND;VALUE=DATE:20130215
DTSTAMP:20130213T073407Z
DTSTART;VALUE=DATE:20130213
LAST-MODIFIED:20130213T073513Z
LOCATION:Somewhere
ORGANIZER;CN="Test Test1":mailto:test1@test.com
PRIORITY:5
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY;LANGUAGE=pl:Test
TRANSP:TRANSPARENT
UID:040000008200E00074C5Bsfs46dfgdfgdfgdfF4DF4A84357BAB0DAE5877
X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server version 14.02.5004.000">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted from text/rtf format -->\n\n<P DIR=LTR><SPAN LANG="pl"></SPAN></P>\n\n</BODY>\n</HTML>
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MS-OLK-APPTSEQTIME:20130213T124622Z
X-MS-OLK-AUTOFILLLOCATION:FALSE
X-MS-OLK-CONFTYPE:0
BEGIN:VALARM
TRIGGER:-PT1080M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
Thanks for your help :)
I've got problem with sending free appointment to Exchange. When I send standard meeting request there is no problem - attendees see tentative event and after acceptation they see busy event in calendar.
I want now send from code appointment that will be set as free in calendar at once for attendees. If I send that request from Outlook there is no problem. But when I save that message as text (.ics file), copy content to string and send it from code - the appointment is tentative (before acceptation) or busy (after acceptation by default) after receive.
I use following e-mail content:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VEVENT
ATTENDEE;CN="Test Test2":mailto:test2@test.com
CLASS:PUBLIC
CREATED:20130213T073513Z
DESCRIPTION:\n
DTEND;VALUE=DATE:20130215
DTSTAMP:20130213T073407Z
DTSTART;VALUE=DATE:20130213
LAST-MODIFIED:20130213T073513Z
LOCATION:Somewhere
ORGANIZER;CN="Test Test1":mailto:test1@test.com
PRIORITY:5
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY;LANGUAGE=pl:Test
TRANSP:TRANSPARENT
UID:040000008200E00074C5Bsfs46dfgdfgdfgdfF4DF4A84357BAB0DAE5877
X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">\n<HTML>\n<HEAD>\n<META NAME="Generator" CONTENT="MS Exchange Server version 14.02.5004.000">\n<TITLE></TITLE>\n</HEAD>\n<BODY>\n<!-- Converted from text/rtf format -->\n\n<P DIR=LTR><SPAN LANG="pl"></SPAN></P>\n\n</BODY>\n</HTML>
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MS-OLK-APPTSEQTIME:20130213T124622Z
X-MS-OLK-AUTOFILLLOCATION:FALSE
X-MS-OLK-CONFTYPE:0
BEGIN:VALARM
TRIGGER:-PT1080M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
Thanks for your help :)