Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

March 26, 2009 12:00 AM

What Exchange/Outlook APIs Should I Use for Applications?

Windows IT Pro
InstantDoc ID #101503
Rating: (0)

Microsoft hasn’t ever had a definitive path for Outlook and Exchange development. Or at least when it seemed they did, they changed the technology in the next version while trying to maintain backward compatibility with the previous version. The result is a dizzying array of APIs and technologies to access Outlook and Exchange data for application development and design. With Exchange Server 2007, Microsoft is moving toward Web Services (HTTP, XML, SOAP, and WDSL) as the interface for developing applications. Exchange Web Services (EWS) is going to expand and improve with Exchange Server 14. As suggested in the Exchange Team blog, Microsoft will be introducing a managed API for EWS in Exchange 14.

Recently, Microsoft updated their online documentation for MAPI for Office Outlook 2007. Missing from that update is coverage of Collaboration Data Objects (CDO) version 1.2.1. CDO 1.2.1 was last shipped with Exchange Server 2003 Service Pack 2, so it makes sense not to cover it in new documentation. In addition, there isn’t a 64-bit version of CDO 1.2.1. Microsoft provides the MAPI Client and CDO 1.2.1 libraries as a separate download for now, as there are many applications out there using what is now legacy code. I ran into this recently with Quest MessageStats 6.5.1, an Exchange Server reporting application. In a native Exchange 2007 environment, the MAPI/CDO client libraries had to be installed on the MessageStats reporting server (which is not an Exchange server) first for the application to be able to gather data from the information stores. If Exchange 2003 was part of the environment, the Exchange System Manager (ESM) would provide the MAPI client subsystem for MessageStats.

So if you are updating an existing application or considering a new application, what APIs should you be considering? First and foremost, you will get the most accomplished through EWS because Microsoft is investing in its development, using it for part of Exchange 2007 and future releases, and it leverages your knowledge of existing development techniques. In Exchange 14, EWS will replace several APIs: WebDAV, CDO 3.0, ExOLEDB, and Store Event Sinks. EWS, with the help of the Outlook MAPI client and the Outlook Object Model (OOM) can also accommodate almost all of the functionality lost with the removal of MAPI/CDO 1.2.1. You can see in Figure 1 that there is a consistent solution going forward. If you are considering developing applications for Exchange and Outlook, the choice of API is getting simpler. If you maintain an application for Exchange, then your choice for upgrading that application to accommodate newer versions of Exchange Server is also clearer.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.