On 5/31/05, J�rgen Kareta <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to get some email addresses with the following pythoncode:
>
> import win32com.client
> O = win32com.client.gencache.EnsureDispatch('Outlook.Application')
> mapi=O.GetNamespace('MAPI')
> adr_li=mapi.AddressLists.Item('Global Addressbook')
> members=adr_li.AddressEntries.Item('MyGroup').Members
> for num in range(0, members.__len__()-1):
> name=entr.GetNext()
> print name.Name,name.Address
>
> That works fine, except that I get the x400 address:
> paul panther /o=panter group/ou=venus/cn=Recipients/cn=PaulP
> instead of the expected SMTP adress:
> [EMAIL PROTECTED]
>
> How can I get the SMPT addresses ?
Anything here help - <http://www.cdolive.com/cdo10.htm>?
--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32