Hello,

 I've solved my problem. After adding CDO to my Outlook installation it 
works now:

from win32com.client.dynamic import Dispatch
s=Dispatch("Mapi.session")
s.Logon('Microsoft Outlook')
entries=s.AddressLists('Globales Adressbuch').AddressEntries
for entr in entries:
    print entr.Name,entr.Fields(0x39fe001e).Value
   
Mark and Simon:
thanks for your useful help. I'll look for the spambayes solution, as 
this code is only the first step for a bigger solution.

regards,
Jürgen
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to