Basic MAPI
gbreed at cix.compulink.co.uk
gbreed at cix.compulink.co.uk
Thu Dec 28 11:11:42 EST 2000
In article <91vfsb02cn6 at news2.newsguy.com>, aleaxit at yahoo.com (Alex
Martelli) wrote:
> "Henrik Mårtensson" <henrik.martensson at frontconsulting.se> wrote in
> > message
> news:nEG06.1008$Qb7.95625 at newsb.telia.net...
> > Hi
> >
> > I'm trying to run a basic MAPI initialisation, but I get stuck with
> > the
> > dispatcher.
> ...
> > >>> s=Dispatch("Mapi.Session")
>
> There is no creatable coclass (that I ever heard of) with progId
> 'Mapi.Session'.
There most certainly is. It comes with Outlook, among other things, and
I think lives in cdo.dll ("MAPI" is an abbreviation for "CDO" or
something). That Dispatch works fine on my machine, so I don't know
what's going wrong. Check that Outlook's installed.
Graham
More information about the Python-list
mailing list