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://schemas.microsoft.com/exchange/"" "_
& " xmlns:mapi=""http://schemas.microsoft.com/mapi/"" "_
& " xmlns:mapit=""http://schemas.microsoft.com/mapi/proptag/"" "_
& " 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> "

Re: Help with cancelling a meeting with webdav by Babu

Babu
Wed Aug 09 14:39:39 CDT 2006

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



"jollyshots" <google@adamb.com> wrote in message
news:1155151132.634271.71810@p79g2000cwp.googlegroups.com...
>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://schemas.microsoft.com/exchange/"" "_
> & " xmlns:mapi=""http://schemas.microsoft.com/mapi/"" "_
> & " xmlns:mapit=""http://schemas.microsoft.com/mapi/proptag/"" "_
> & " 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> "
>



Re: Help with cancelling a meeting with webdav by jollyshots

jollyshots
Wed Aug 09 14:52:09 CDT 2006

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


Re: Help with cancelling a meeting with webdav by jollyshots

jollyshots
Wed Aug 09 14:52:45 CDT 2006

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