Re: CDO and Lotus Notes

From: Alexander (Alexander_at_discussions.microsoft.com)
Date: 02/15/05


Date: Tue, 15 Feb 2005 08:57:01 -0800

Hello Dan,
Thank you for your reply.

You are right: I am referring to/using CDO 1.21.

What I have to accomplish is:
Sending EMails (+ attachemnts)
Receiving EMails (+ attachments)

Actually we have to support:
Outlook Express
Outlook
Groupwise
Lotus Notes

If I got it right the best solution for Lotus Notes would be to use its
proprietary APIs. But I also could try to install the CDO part of Outlook (it
can be installed separately) additionally to the Lotus Notes installaton.

Of course I have an Outlook CD and could try that ... but is the CDO
deliverable also available without Outlook (i.e. as a single installation
package).

Thank you in advance&
best regards,

  Alexander

"Dan Mitchell" wrote:

> =?Utf-8?B?QWxleGFuZGVy?= <Alexander@discussions.microsoft.com> wrote in
> news:2A9F8349-F8CB-44C5-B217-6599026207AA@microsoft.com:
>
> > I am using C# and CDO for sending/receiving emails. With Outlook that
> > works perfectly
>
> You do know that officially it shouldn't work, right? If it does,
> that's great -- a lot of stuff that's unsupported works -- but you
> should watch out for unexpected problems. See
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;813349
>
> I'm assuming you mean CDO1.21, not CDONTS/CDOW2K/CDOEX/CDOEXM, of
> course. Those all seem to be supported okay.
>
> > - but we are also planning to use the same code for
> > Lotus Notes.
> >
> > Is it possible to send/receive Emails with Lotus Notes using CDO?
> > Are there any preparations to be made? (install "CDO for Notes" or
> > sth. similar)
>
> There is no CDO1.21 for Notes -- the only way to get CDO.DLL on a
> system is by installing Outlook or the Exchange admin console, and
> presumably in a Notes/Domino environment those aren't available.
>
> > and if so where can I get that package?
> > If this is not possible at all: What is the best approach to
> > send/receive emails out of C# using Lotus Notes?
>
> There's the C and C++ APIs for Notes -- I looked into these briefly a
> couple of years ago, and back then www.notes.net was the best place to
> start, but they may well have moved things around since then.
>
> It depends on what you want to do -- if all you need is just to send a
> simple message (with attachments) then Simple MAPI is probably your best
> bet, that'll work on Outlook and Notes systems, and probably on
> Groupwise/Eudora/etc too -- a couple of C# samples:
>
> Q315653 SAMPLE: SimpleMAPIAssembly Shows Use of Simple MAPI from
> ..NET http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q315653
>
> Q315367 Simple MAPI Sample Written in C#
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q315367
>
> If you need to do something more complicated than Simple MAPI provides,
> then your best bet is almost certainly to use the Notes APIs -- that
> means you'll have two bits of code, but Notes's Extended MAPI support is
> reputedly unreliable, and as CDO1.21 uses ExMAPI and conceals a lot of
> the details, you'd have a hard time working out what's going on, even if
> you could use CDO1.21 on a Notes system, which you can't.
>
> If all you need to do is pop up the standard "send mail" dialog, then
> you can just do ShellExecute("mailto:...") -- that's the least code you
> can write, but has some problems on older OSes/versions of Outlook, and
> I don't know how well it'll work on Notes.
>
> -- dan
>



Relevant Pages

  • Re: Exchange/Outlook 2007 MAPI in WinXP
    ... But, as you said, the other (MAPI) package will not install if Outlook is ... MAPI.Session object has nothing to do with MAPI per se: it is a CDO 1.21 ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Exchange/Outlook 2007 MAPI in WinXP
    ... You cannot have 2 MAPI systems installed at the same time. ... Do you really need Outlook? ... OutlookSpy - Outlook, CDO ... But, as you said, the other package will not install if Outlook is ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Exchange/Outlook 2007 MAPI in WinXP
    ... It looks like CDO did the trick. ... Do you really need Outlook? ... But, as you said, the other (MAPI) package will not install if Outlook is ...
    (microsoft.public.win32.programmer.messaging)
  • Re: "Send To" command
    ... Perhaps this is a Lotus Notes issue. ... Lotus Notes tell me that it does not play well with Microsoft products, ... I've never had Outlook installed on this ... I would suggest you install and configure Outlook ...
    (microsoft.public.office.misc)
  • Re: Exchange/Outlook 2007 MAPI in WinXP
    ... Extended MAPI is supported. ... which Outlook 2007 does not install. ... CDO 1.21 is a COM library that wraps Extended MAPI. ... How exactly did you install CDO 1.21? ...
    (microsoft.public.win32.programmer.messaging)