Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Is Extended MAPI "hard"? (http://www.outlookbanter.com/outlook-vba/7221-extended-mapi-hard.html)

Rob Nicholson January 11th 06 06:11 PM

Is Extended MAPI "hard"?
 
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.



Ken Slovak - [MVP - Outlook] January 11th 06 08:35 PM

Is Extended MAPI "hard"?
 
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.

--
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
...
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.



Michael Bauer January 12th 06 05:58 AM

Is Extended MAPI "hard"?
 
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!

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



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.


Rob Nicholson January 19th 06 01:47 PM

Is Extended MAPI "hard"?
 
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.



Rob Nicholson January 19th 06 01:48 PM

Is Extended MAPI "hard"?
 
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.



Ken Slovak - [MVP - Outlook] January 19th 06 03:23 PM

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.



Rob Nicholson January 25th 06 02:01 PM

Is Extended MAPI "hard"?
 
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.




All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com