Is Extended MAPI "hard"?

R

Rob Nicholson

Is Extended MAPI hard to use? We're having too many problems with using the
Outlook object model to send & receive email in a server type application.

CDO is mentioned in the Outlook Security template so I assume shifting to
CDO wouldn't help that aspect - we'd still need the Exchange admin user to
create the templates.

Redemption looks like a good system, just not sure how acceptable it is in a
corporate environment.

Thanks, Rob.
 
K

Ken Slovak - [MVP - Outlook]

If the code is running server side then CDO would be installed if the
Exchange management tools are installed and server side CDO 1.21 is not
subject to the security. Only client side CDO (from the Office CD) is
subject to security.

The two should never be mixed. Just as you never install Outlook on your
Exchange server you don't install CDO client on the server either.

Extended MAPI can only be programmed using C++ or Delphi. That's hurdle #1.
It's also not object oriented and is hard to learn and use. Personally I use
Redemption in my coding.
 
M

Michael Bauer

Am Wed, 11 Jan 2006 18:11:28 -0000 schrieb Rob Nicholson:

In addition to Ken: Redemption helps you saving a lot of time and works like
a charm - also in corporate environments, of course!
 
R

Rob Nicholson

If the code is running server side then CDO would be installed if the
Exchange management tools are installed and server side CDO 1.21 is not
subject to the security. Only client side CDO (from the Office CD) is
subject to security.

Just to get my head around this - are you saying there are two flavours of
CDO? One that's designed to run on a server and the other on a client PC?
Will the Server CDO flavour only install on a Windows Server OS or can it
install on Windows XP? The reason I ask is that we often trial our server on
a normal PC before moving it to a service in the back office.
Extended MAPI can only be programmed using C++ or Delphi. That's hurdle
#1. It's also not object oriented and is hard to learn and use. Personally
I use Redemption in my coding.

Well C++ wouldn't be totally out of the window but prefer not to. How does
Redemption resolve the security issue - does it use some other mechanism to
handle email?

Thanks, Rob.
 
R

Rob Nicholson

In addition to Ken: Redemption helps you saving a lot of time and works
like
a charm - also in corporate environments, of course!

We've heard and read good things about Redemption so we're going to have a
more serious look at it. It looks like it mirrors a lot of the Outlook
objects and methods so converting existing Outlook code to use Redemption
looks reasonably painless.

Cheers, Rob.
 
K

Ken Slovak - [MVP - Outlook]

Yes, there currently are 2 flavors of CDO 1.21, server and client. Only the
client version on the Office CD's is security limited. Due to the
differences in the underlying MAPI support libraries they use they can't be
mixed. Server side CDO won't run correctly if installed on an Outlook client
machine, it might even break Outlook. Same on the other side.

AFAIK it's mostly a thing that's related to Exchange/Outlook, not the exact
version of Windows.

Redemption does it's magic and avoids the Outlook security because it's a
COM wrapper for Extended MAPI stuff. So it doesn't use the Outlook object
model or CDO libraries at all. Dmitry, the author has given us a subset of
the things you can do with Extended MAPI but with the COM wrapper Redemption
can be used from any language that can work with COM (VB, VB.NET, C#, even
VBScript).

Another nice thing with the latest versions of Redemption is that it now
essentially replaces CDO. In fact all my major applications that used to use
CDO now have been rewritten to use RDO objects from Redemption. With Stores
and Sessions and various other things I never have to use CDO 1.21 code
again.
 
R

Rob Nicholson

Redemption does it's magic and avoids the Outlook security because it's a
COM wrapper for Extended MAPI stuff. So it doesn't use the Outlook object
model or CDO libraries at all. Dmitry, the author has given us a subset of
the things you can do with Extended MAPI but with the COM wrapper
Redemption can be used from any language that can work with COM (VB,
VB.NET, C#, even VBScript).

Thanks for this - happier with Redemption now I know I it works under the
hood. We will check it out.

Cheers, Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top