Howto: Set multiple extended properties on a folder using raw XML for EWS with a POST

Hmmm, there are very few samples on setting multiple extended properties on folders using a POST to EWS… so, I thought I would blog one.   This sample can be used with:      http://blogs.msdn.com/webdav_101/archive/2009/02/27/howto-post-xml-to-ews-using-exchangeservicebinding-credentials.aspx    Note the following:                 The version is set.                 Each property being set is done under a separate SetFolderField node.   <?xml…

1

Howto: Post XML to EWS using ExchangeServiceBinding credentials.

Here is a sample which shows how to use the connection of the Exchange Service Binding to do a POST to EWS using an XML string.        // Sample calling code: private void cmdExecute_Click(object sender, EventArgs e) {     string sRequest = string.Empty;       bool bRet = false;          string sResponse…

1

Example: How to use PS_INTERNET_HEADERS with cdo 1.21 for custom properties.

‘This example uses PS_INTERNET_HEADERS for setting a custom property const smbx=”mymailbox”  ‘ TODO: Changeconst ssrv=”myserver”      ‘ TODO: Changeconst mycdoInetPset = “8603020000000000C000000000000046″const myXheader = “X-SPAM”  ‘ TODO: Change to your property set oses=createobject(“mapi.session”)oses.logon “”, “”, false, true, 0, true, ssrv & vblf & smbxset omsg=oses.inbox.messages.getfirstsfrom=omsg.fields.item(myXheader,myCdoInetPset).valuewscript.echo sfromomsg.fields.add myXheader, vbString, “I Hate Spam!”, myCdoInetPsetomsg.update set omsg=nothingset oses=nothing

0

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft’s Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form for developers to review and provide feedback.  You can read more about the announcement…

0

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft’s Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form for developers to review and provide feedback.  You can read more about the announcement…

0

Howto: Get Free/Busy Information with WebDAV/HTTP

  CDO 1.21, CDOEX, etc can get Free/Busy information, however WebDAV cannot directly.  You may use a GET against OWA to get this information.    A GET against an OWA URL is really not a WebDAV call… it’s really just plain HTTP GET call – you just need to be sure that the URL is correctly…

1

How to use WebDAV to access mailboxes across Exchange servers?

If there is a front-end server setup, you can access by opening a connection using HTTP or HTTPS and to WebDAV they would seem seamless – i.e. one server.   This is what I have seen used almost all of the time.   Using Microsoft Exchange 2000 Front-End Servers http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=AFAD8426-572E-40F8-99DA-EB7198F374C4   You may also be able…

1