First page Back Continue Last page Overview Graphics
Outlook - code
import outlook_com
app=outlook_com.Application()
mapi=app.GetNamespace(“MAPI”)
contacts=mapi.GetDefaultFolder(constants.olFolder)
for i in range(len(contacts.Items)):
item=contacts.Items[1+i]
print item.FullName
print item.MobileTelephoneNumber
Notes:
Note the subtle line where Items is indexed. In COM some items start indexing at zero (standard C and Python) and others start at one (VB default).