Re: [python-win32] MAPI, windows service and getting handle to executing outlook process

2006-01-30 Thread Mark Hammond
Try:   outlook=win32com.client.GetActiveObject("Outlook.Application")   Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Amrit JassalSent: Tuesday, 31 January 2006 8:59 AMTo: python-win32@python.orgSubject: [python-win32] MAPI,windows s

[python-win32] MAPI, windows service and getting handle to executing outlook process

2006-01-30 Thread Amrit Jassal
I am writing a mail extractor program to download mail from outlook via MAPI. The script works fine as a console program and as an NT service if outlook is not running.If outlook process is running then the service times out with the following exception:   File "win32com\client\__init__.pyc", line