[Spambayes] Outlook plugin & bad folders

Piers Haken piersh at friskit.com
Wed Jan 15 23:34:54 EST 2003

The problem is that the GetFolderFromID call in outlook's object model
(called from MAPIMsgStoreFolder.GetOutlookItem) does not accept MAPI
folder IDs when those folders are on an exchange server. It probably has
something to do with the fact that when you're using PSTs the object
model and the underlying MAPI store are the same thing, but when you're
using exchange the store is a separate component. In theory they should
be able to keep the oulook IDs and the exchange MAPI IDs consistent, but
in practice...


> -----Original Message-----
> From: Mark Hammond [mailto:mhammond at skippinet.com.au] 
> Sent: Wednesday, January 15, 2003 10:34 PM
> To: 'Meyer, Tony'; Piers Haken; spambayes at python.org
> Subject: RE: [Spambayes] Outlook plugin & bad folders
> > Would implementing the _BuildFolderTreeOutlook() function in C/C++ 
> > make a significant difference?  (I guess what I'm asking is whether 
> > it's just Outlook itself that is causing the delay).
> Yes, Outlook itself is the problem.  MAPI is the 
> high-performance API, and as you can see, Python does indeed 
> get high-performance using it.
> I'm still yet to know any specific details on what problem we 
> have when using the MAPI version.
> Mark.

More information about the Spambayes mailing list