Product SiteDocumentation Site

3.5. Python MAPI binding

The Python language binding provides a python interface to the messaging API used by Zarafa, MAPI. The original interface is an object-oriented C++ interface, and the interfaces provided to Python are designed to be completely analogous to the C\++ interface. Various tools and utilities can be created using these interfaces, allowing for interfacing, extentions and custom applications.
>>>admin = store.QueryInterface(IID_IExchangeManageStore)
>>>userEntryID = admin.CreateStoreEntryID('', username, 0)
>>>return session.OpenMsgStore(0, userEntryID, None, MDB_WRITE | MDB_NO_DIALOG)
For more information and code examples of the Python MAPI binding, see the developer documentation.