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

Alias Alias blipbeep at gmail.com
Fri Oct 1 00:34:48 CEST 2004


Hey Mark, that was the trick.
I was not importing win32com.mapi.mapi  I was including everything
else but that.




On Tue, 28 Sep 2004 17:13:23 +1000, Mark Hammond
<mhammond at skippinet.com.au> wrote:
> > 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