Home All Groups Group Topic Archive Search About

Redemption vs MAPI33 comparison

Author
19 Apr 2006 4:46 AM
sudarshan
Hi

I am developing a .NET application which needs to copy Exchange items
from a mailbox on one server to a mailbox on another server.
I am wondering which library to use for ths purpose.
Eagerly awaiting any recomendations this list might have


regards
Sudarshan
Author
19 Apr 2006 6:09 PM
Dmitry Streblechenko
Redemption (especially its RDO fmaily of objects) is essentially an extended
version of the CDO 1.21 library; which you can also use, but it hasn't been
updated functionality wise for years (besides being crippled by the security
patch).
MAPI33 is a .Net wrapper around Extended MAPI. It allows you use Extended
MAPI directly from your .Net code, which isn't supported by MS. That brings
managed C# (VB.Net isn't supported AFAIK) to the same level as unmanaged
C++. If you already have experience with Extended MAPI in C++, use it, if
not, it won't help you much if at all.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

Show quoteHide quote
"sudarshan" <sudarsh***@gmail.com> wrote in message
news:1145421985.616065.194420@i39g2000cwa.googlegroups.com...
> Hi
>
> I am developing a .NET application which needs to copy Exchange items
> from a mailbox on one server to a mailbox on another server.
> I am wondering which library to use for ths purpose.
> Eagerly awaiting any recomendations this list might have
>
>
> regards
> Sudarshan
>
Author
20 Apr 2006 4:08 PM
mapi33dev
Dmitry, do not confuse the person. Any software product which calls
MAPI from .Net is not supported by Microsoft.
Not RDO, not MAPI33, not any are not supported by MS.

The RDO is some extended mirror of CDO, MAPI33 is wrapper around native
extended mapi and some additional helpers like CDO.

ps:
FYI: VB.net is supported now.

Sergey Golovkin (MAPI33.NET Author)

Dmitry Streblechenko писал(а):

Show quoteHide quote
> Redemption (especially its RDO fmaily of objects) is essentially an extended
> version of the CDO 1.21 library; which you can also use, but it hasn't been
> updated functionality wise for years (besides being crippled by the security
> patch).
> MAPI33 is a .Net wrapper around Extended MAPI. It allows you use Extended
> MAPI directly from your .Net code, which isn't supported by MS. That brings
> managed C# (VB.Net isn't supported AFAIK) to the same level as unmanaged
> C++. If you already have experience with Extended MAPI in C++, use it, if
> not, it won't help you much if at all.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "sudarshan" <sudarsh***@gmail.com> wrote in message
> news:1145421985.616065.194420@i39g2000cwa.googlegroups.com...
> > Hi
> >
> > I am developing a .NET application which needs to copy Exchange items
> > from a mailbox on one server to a mailbox on another server.
> > I am wondering which library to use for ths purpose.
> > Eagerly awaiting any recomendations this list might have
> >
> >
> > regards
> > Sudarshan
> >
Author
20 Apr 2006 5:24 PM
Dmitry Streblechenko
Correct, even CDO 1.21 is not supported :-)
I was referring to the fact that there is no way to access Extended MAPI
from .Net out of the box without using libraries like MAPI33, unlike
unmanaged C++, which allows to simply include the relevant header files and
link with the right LIB files.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"mapi33dev" <mapi33***@yahoo.com> wrote in message
news:1145549327.284489.85110@g10g2000cwb.googlegroups.com...
Dmitry, do not confuse the person. Any software product which calls
MAPI from .Net is not supported by Microsoft.
Not RDO, not MAPI33, not any are not supported by MS.

The RDO is some extended mirror of CDO, MAPI33 is wrapper around native
extended mapi and some additional helpers like CDO.

ps:
FYI: VB.net is supported now.

Sergey Golovkin (MAPI33.NET Author)

Dmitry Streblechenko ÐÉÓÁÌ(Á):

Show quoteHide quote
> Redemption (especially its RDO fmaily of objects) is essentially an
> extended
> version of the CDO 1.21 library; which you can also use, but it hasn't
> been
> updated functionality wise for years (besides being crippled by the
> security
> patch).
> MAPI33 is a .Net wrapper around Extended MAPI. It allows you use Extended
> MAPI directly from your .Net code, which isn't supported by MS. That
> brings
> managed C# (VB.Net isn't supported AFAIK) to the same level as unmanaged
> C++. If you already have experience with Extended MAPI in C++, use it, if
> not, it won't help you much if at all.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "sudarshan" <sudarsh***@gmail.com> wrote in message
> news:1145421985.616065.194420@i39g2000cwa.googlegroups.com...
> > Hi
> >
> > I am developing a .NET application which needs to copy Exchange items
> > from a mailbox on one server to a mailbox on another server.
> > I am wondering which library to use for ths purpose.
> > Eagerly awaiting any recomendations this list might have
> >
> >
> > regards
> > Sudarshan
> >
Author
20 Apr 2006 9:33 PM
sudarshan
Thanks for the information.

These are the two scenario's I am looking at.

1. Copy an item ( can be a mail, contact, appointment or journal) from
a mailbox on exchange server A to a PST file.

2. Copy the item from the PST file to a mailbox on Exchange server B.

I would also like to copy accross entire folders (with their contents).


Is there a sample in either of the libraries that does something
similar?
Which of the two libraries is more suitable for this task?

regards
Sudarshan
Author
21 Apr 2006 8:36 AM
mapi33dev
As Dmitry said before if you know CDO so using of RDO is the best
choose, if mapi so use mapi33.

Example: I think it will be more complex than you think.
Do you want to make of mirror of your mailbox in pst file or store all
messages flatly in one specified folder ?

Sergey Golovkin

sudarshan писал(а):

Show quoteHide quote
> Thanks for the information.
>
> These are the two scenario's I am looking at.
>
> 1. Copy an item ( can be a mail, contact, appointment or journal) from
> a mailbox on exchange server A to a PST file.
>
> 2. Copy the item from the PST file to a mailbox on Exchange server B.
>
> I would also like to copy accross entire folders (with their contents).
>
>
> Is there a sample in either of the libraries that does something
> similar?
> Which of the two libraries is more suitable for this task?
>
> regards
> Sudarshan
Author
21 Apr 2006 6:46 PM
sudarshan
Thank you for your reply

My intention is to copy a message from one server to another.
Since I do not know of a way to have a session logged on to multiple
servers at the same time, I thought I should copy the message to a
temporary file (pst) and then upload it to the destination server. I
want to have full fidelity in terms of properties of the item being
recovered.

I will greatly appreciate any further help and especially a code sample
that tries to do some  of the above.
Author
21 Apr 2006 10:09 PM
Dmitry Streblechenko
First of all you can have any number of MAPI session open at the same time;
Outlook can use only once profile at a time, MAPI can have as many open
session as you want, there is no fundamental limit.
Secondly, you can copy message from one session to another session if both
session are alive at the same time, or (if you prefer to have only one
session at a time), save the mesage as an MSG file, then open it and copy
from the second session.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

Show quoteHide quote
"sudarshan" <sudarsh***@gmail.com> wrote in message
news:1145645208.264878.261200@j33g2000cwa.googlegroups.com...
> Thank you for your reply
>
> My intention is to copy a message from one server to another.
> Since I do not know of a way to have a session logged on to multiple
> servers at the same time, I thought I should copy the message to a
> temporary file (pst) and then upload it to the destination server. I
> want to have full fidelity in terms of properties of the item being
> recovered.
>
> I will greatly appreciate any further help and especially a code sample
> that tries to do some  of the above.
>
Author
1 May 2006 4:48 AM
eriq.vanbibber
MSG files....not really a good option either.  MSG files do not
maintain all of the properties exact.  For instance, when a .msg file
is created, the creation time and last modification time of the message
are changed to the date and time that the msg file is saved.  also,
there can be issues with entry ids.  If you HAVE to have a supported
method, you could use a PST as a middle point, logging on and off each
session and re-using the PST in between.  Also, you could write all of
your code in a COM library, developed in VS6, and automate that library
with .NET.

Good luck,

iQueue
Author
1 May 2006 10:37 PM
Dmitry Streblechenko
Whether you will use an MSG file or a PST as an intermediary medium, you
will have the  same problem - entry id will change, and create/last modified
times will be updated.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

<eriq.vanbib***@gmail.com> wrote in message
Show quoteHide quote
news:1146458880.545738.93990@j73g2000cwa.googlegroups.com...
> MSG files....not really a good option either.  MSG files do not
> maintain all of the properties exact.  For instance, when a .msg file
> is created, the creation time and last modification time of the message
> are changed to the date and time that the msg file is saved.  also,
> there can be issues with entry ids.  If you HAVE to have a supported
> method, you could use a PST as a middle point, logging on and off each
> session and re-using the PST in between.  Also, you could write all of
> your code in a COM library, developed in VS6, and automate that library
> with .NET.
>
> Good luck,
>
> iQueue
>