[python-win32] How do I get a PyIMAPIProps ?

Mark Hammond mhammond at skippinet.com.au
Tue Sep 28 09:13:23 CEST 2004


> When I queryinterface for the IMAPIProps or IMessage
> interfaces, it returns
> with an error saying that there isn't an object registered to
> handle the
> object.

What is the exact error and code?  You must have imported win32com.mapi.mapi
before the QI will work (but presumably you have to get those IIDs).

Check out
http://cvs.sourceforge.net/viewcvs.py/spambayes/spambayes/Outlook2000/sandbo
x/ for some fully functioning utilities which work with these interfaces.  I
believe the mapi_send sample I pointed you at before also uses these
interfaces.

Mark



More information about the Python-win32 mailing list