🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SmtpMail

#530
From: Ray
Date: Sun, 14 Nov 2004 18:16
35 lines
2336 bytes
Thanks Marc

I should have said Outlook Express is running. This has an SMTP server, and 
it is my default one, so I would have thought that .NET would have sent to 
that. Even if not so, why did SmtpMail.Send(myMail); return an error, after 
all the argument was a valid Mailmessage object?

All very puzzling. Had thought I had escaped from the convoluted MAPI, but 
perhaps not

Ray

"Marc Rohloff [TeamB]" <"on request"> wrote in message 
news:aby1o9jypvyi$.dlg@marcrohloff.40tude.net...
>
>> This is just a standalone machine with modem for internet. Internet 
>> explorer
>> is running, but not connected, so I would expect to see the test message 
>> in
>> my outbox. Have done similar thing before with MAPI under Win32 and this
>> works ok.
>
> SmtpMail doe snot connect to your MAPI server it corrects directly to
> the SMTP server so you would need a live network connection. The .NET
> framework does not have components to access MAPI but you should be
> able to use COM interop to do this or there are probably classes
> available on the internet.
>
>> What is CDO?
> I believe it is "Communications Data Objects" if you search on the web
> for SmtpMail and CDO you should find quite a lot of information.
>
> -- 
> Marc Rohloff [TeamB]
> marc rohloff at myrealbox dot com 
Technical Details
Message-ID: <4197a10f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41950bbf@newsgroups.borland.com> <1a97e73svj36s.dlg@marcrohloff.40tude.net> <4195d29a@newsgroups.borland.com> <aby1o9jypvyi$.dlg@marcrohloff.40tude.net>

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> <aby1o9jypvyi$.dlg@marcrohloff.40tude.net>
Subject: Re: SmtpMail
Date: Sun, 14 Nov 2004 18:16:47 -0000
Lines: 37
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; Original
NNTP-Posting-Host: 81.78.21.65
Message-ID: <4197a10f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100456207 81.78.21.65 (14 Nov 2004 10:16:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail