[python-win32] Getting multiple properties in one go
Mark Hammond
mhammond at skippinet.com.au
Thu Nov 25 23:10:56 CET 2004
> > You probably want to investigate win32com.mapi. Check out
> the dump_props.py
> > sample from SpamBayes (in the spambayes\Outlook2000\sandbox
> directory - view
> > it via CVS at sourceforge)
>
> I don't think all the fields available via the VB COM API to Outlook
> are available via the MAPI api.
I'm fairly certain all mail related fields are available - some of the
Contacts fields may not, but I suspect most are.
> Do you know if the performance is better via MAPI, since changing my
> code is going to take quite a while.
Much much faster - orders of magnitude generally, especially when fetching
many.
Mark.
More information about the Python-win32
mailing list