View Single Post
  #6  
Old January 19th 06, 03:23 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Is Extended MAPI "hard"?

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Rob Nicholson" wrote in message
...
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.


Ads