Re: [python-win32] Operational errorr :

2007-12-21 Thread Tim Golden
> Antony Joseph wrote: >> I am getting Operational Error : when i try get my contacts . >> ... >> My Error: >> >> File "m1.py", line 5, in >> redemption = oOutlook.CreateObject('Redemption.SafeContactItem') >> File >> "C:\Python25\lib\site-packages\win32com\gen_py\00062FFF---C000-0

Re: [python-win32] Operational errorr :

2007-12-21 Thread Tim Roberts
Antony Joseph wrote: > I am getting Operational Error : when i try get my contacts . > ... > My Error: > > File "m1.py", line 5, in > redemption = oOutlook.CreateObject('Redemption.SafeContactItem') > File > "C:\Python25\lib\site-packages\win32com\gen_py\00062FFF---C000-00 > 00

Re: [python-win32] Operational errorr :

2007-12-21 Thread Tim Golden
Antony Joseph wrote: > I am getting Operational Error : when i try get my contacts . > > My code : > import win32com.client > oOutlook = win32com.client.gencache.EnsureDispatch("Outlook.Application") > onMAPI = oOutlook.GetNamespace("MAPI") > ofContacts = onMAPI.GetDefaultFolder(10) # 10=outlook c

[python-win32] Operational errorr :

2007-12-21 Thread Antony Joseph
I am getting Operational Error : when i try get my contacts . My code : import win32com.client oOutlook = win32com.client.gencache.EnsureDispatch("Outlook.Application") onMAPI = oOutlook.GetNamespace("MAPI") ofContacts = onMAPI.GetDefaultFolder(10) # 10=outlook contacts folder redemption = oOutloo

Re: [python-win32] how to get mails from Outlook

2007-12-21 Thread Tim Golden
Antony Joseph wrote: > hi, > > I am trying to read all the mails in the Inbox from outlook and convert > those mails into text format in my local path. > > Is there any tutorials or any links that can be usefull to me. Here's an absolutely Noddy example to get you going: # # inbox.py # test ca