🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #542

Re: SmtpMail

#542
From: Ray
Date: Tue, 16 Nov 2004 13:52
80 lines
3589 bytes
Hi Theo

I am ok with the platform, I am running Widows XP Pro SP2 (and on an Athlon 
64 bit machine - that took some doing with SP2!).

The problem is acquiring CDO 1.21. You don't get it with Windows XP you have 
to buy Exchange or Office 2003 and others. And it seems you can't just get 
the cdo.dll from someone else and add it in yourself, it has to be installed 
by one of these other programs (at least that what Microsoft say - but maybe 
there is a way that someone will find)

Thanks for your interest

Ray

"Theo Bebekis" <teo@thinx.gr> wrote in message 
news:4199ba29@newsgroups.borland.com...
> Ray wrote:
>
>> Hi Theo
>>
>> No sign of cdo.dll on my system
>>
>> Looked at http://support.microsoft.com/kb/171440/EN-US/ and this says 
>> that you have to install CDO 1.21 with Outlook 8 and other applications 
>> such as Exchange 5.5 or 2000. Windows XP is not one of them.
>>
>> Still at least this explains why the error message - there ain't no CDO 
>> installed. Just another Microsoft ploy to extract more money from you I 
>> suppose.
>>
>> Ray
>
>
> Ray
>
> I've just checked the documentation for the SmtpMail class.
> Quotted:
>
> "
> Provides properties and methods for sending messages using
> the Collaboration Data Objects for Windows 2000 (CDOSYS) message 
> component.
> "
>
> and at the bottom of the page, at the Platforms requirements says that
>
> "
> Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 
> family
> "
>
> It seems that SmtpMail class works only on W2K systems and above.
>
> So, you have to find an alternative for sending mail messages.
> I believe it can be done by importing the ShellExecute() Win32 API 
> function
> and using the verb "mailto". The old way of doing things.
>
>
> -- 
> Regards
> Theo
>
> PS. Here is an article by Kudzu (the famous Indy project) posted
> today to CodeProject on how to send mails using a .Net open source
> version of the Indy package
>
> http://codeproject.com/csharp/IndySMTP.asp
>
> ------------------------
> Theo Bebekis
> Thessaloniki, Greece
> ------------------------
> Greek_Delphi_Prog : a Delphi Programming mailing list in Greek at
>    http://groups.yahoo.com/group/Greek_Delphi_Prog
>
> atla_custom : a Unisoft Atlantis Customization mailing list at
>    http://groups.yahoo.com/group/atla_custom
> ------------------------ 
Technical Details
Message-ID: <419a064d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41950bbf@newsgroups.borland.com> <1a97e73svj36s.dlg@marcrohloff.40tude.net> <4195d29a@newsgroups.borland.com> <41986bf0@newsgroups.borland.com> <41989e64@newsgroups.borland.com> <4199ba29@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,b6cd67095944af33
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ray" <someone@someisp.net>
Newsgroups: borland.public.csharpbuilder.language.csharp
References: <41950bbf@newsgroups.borland.com> <1a97e73svj36s.dlg@marcrohloff.40tude.net> <4195d29a@newsgroups.borland.com> <41986bf0@newsgroups.borland.com> <41989e64@newsgroups.borland.com> <4199ba29@newsgroups.borland.com>
Subject: Re: SmtpMail
Date: Tue, 16 Nov 2004 13:52:42 -0000
Lines: 82
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 62.56.18.104
Message-ID: <419a064d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100613197 62.56.18.104 (16 Nov 2004 05:53:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail