[python-win32] How do I get a PyIMAPIProps ?
Mark Hammond
mhammond at skippinet.com.au
Mon Sep 27 05:49:12 CEST 2004
> Lets say I have a PyUnknown. I've been trying to
> QueryInterface for and IID, but it is failing.
If the error code is E_NOINTERFACE, then you are querying an object for an
interface that it doesn't support.
> That got me looking around. Where are the objects
> that the mapi module creates. It only exposes
> the main functions, but not the objects from what I
> can tell from dir()
Most of the other objects are returned by method calls etc. See
"demos/mapisend.py" at:
http://cvs.sourceforge.net/viewcvs.py/pywin32/pywin32/com/win32comext/mapi/d
emos/
SpamBayes (www.spambayes.org) is written in Python and makes extensive use
of MAPI
Mark.
More information about the Python-win32
mailing list