Help with cancelling a meeting with webdav

Help with cancelling a meeting with webdav

Post by jollyshot » Fri, 11 Aug 2006 04:18:52


I don't get it, what am I missing here? It sends the meeting no
problem, but not as a canclled meeting, and it does remove the meeting
from the calendar, but the sent e-mail is not cancelled. Any ideas?

Set XMLreq = CreateObject("Microsoft.xmlhttp")
XMLreq.open "PROPPATCH", oField, False, sDomain&sUserName, sPasswd
xmlstr = "<?xml version=""1.0""?>" _
& "<g:propertyupdate "_
& " xmlns:g=""DAV:"" "_
& " xmlns:e="" http://www.yqcomputer.com/ "" "_
& " xmlns:mapi="" http://www.yqcomputer.com/ "" "_
& " xmlns:mapit="" http://www.yqcomputer.com/ "" "_
& " xmlns:x=""xml:"" xmlns:cal=""urn:schemas:calendar:"" "_
& " xmlns:dt=""urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"" "_
& " xmlns:header=""urn:schemas:mailheader:"" "_
& " xmlns:mail=""urn:schemas:httpmail:""> "_
& " <g:set> "_
& " <g:prop> "_
& "
<g:contentclass>urn:content-classes:calendarmessage</g:contentclass> "_

& "
<e:outlookmessageclass>Ipm.Schedule.Meeting.Canceled</e:outlookmessageclass>
"_
& " <e:x-priority-long dt:dt=""int"">2</e:x-priority-long> "_
& "
<mail:subject>"&oRs.Fields("urn:schemas:httpmail:subject").value&"</mail:subject>
"_
& " <mail:htmldescription>User Termination, Meeting Cancelled:
"&oRs.Fields("urn:schemas:httpmail:subject").value&"</mail:htmldescription>
"_
& " <header:cc>"&ccfield&"</header:cc> "_
& " <header:bcc>"&bccfield&"</header:bcc> "_
& " <header:to>"&tofield&"</header:to> "_
& " <cal:meetingstatus>CANCELLED</cal:meetingstatus> "_
& " <cal:dtend dt:dt=""dateTime.tz"">"&endtime&"</cal:dtend> "_
& " <cal:dtstart dt:dt=""dateTime.tz"">"&starttime&"</cal:dtstart>
"_
& " <cal:alldayevent>"&isallday&"</cal:alldayevent> "_
& "
<cal:busystatus>"&oRs.Fields("urn:schemas:calendar:busystatus").value&"</cal:busystatus>
"_
& " <cal:method>CANCEL</cal:method> "_
& " <cal:instancetype
dt:dt=""int"">"&oRs.Fields("urn:schemas:calendar:instancetype").value&"</cal:instancetype>
"_
& " <cal:responserequested
dt:dt=""boolean"">0</cal:responserequested> "_
& " <cal:removefromcalendar
dt:dt=""boolean"">1</cal:removefromcalendar> "_
& "
<cal:uid>"&oRs.Fields("urn:schemas:calendar:uid").value&"</cal:uid> "_
& " <mapi:appstateflags dt:dt=""int"">7</mapi:appstateflags> "_
& " <mapi:finvited dt:dt=""boolean"">1</mapi:finvited> "_
& " <mapi:responsestatus dt:dt=""int"">1</mapi:responsestatus> "_
& " <mapi:responsestate dt:dt=""int"">0</mapi:responsestate> "_
& " <mapi:response_requested
dt:dt=""boolean"">0</mapi:response_requested> "_
& " <mapi:busystatus dt:dt=""int"">0</mapi:busystatus> "_
& " <mapi:intendedbusystatus
dt:dt=""int"">0</mapi:intendedbusystatus> "_
& " </g:prop> "_
& " </g:set> "_
& " </g:propertyupdate> "
 
 
 

Help with cancelling a meeting with webdav

Post by Babu V » Fri, 11 Aug 2006 04:39:39

an thats ugly....
there must be a better way



"jollyshots" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...



 
 
 

Help with cancelling a meeting with webdav

Post by jollyshot » Fri, 11 Aug 2006 04:52:09

What do you mean Ugly? that's just the poppatch section.
 
 
 

Help with cancelling a meeting with webdav

Post by jollyshot » Fri, 11 Aug 2006 04:52:45

What do you mean, that is just the proppatch section...