Article View: borland.public.cppbuilder.internet.web
Article #1662Babak's Email Using FastNet fail's on Connection
From: Charles Leggette
Date: Mon, 23 Aug 2004 16:03
Date: Mon, 23 Aug 2004 16:03
19 lines
1569 bytes
1569 bytes
I used your suggestion, but I get a "Connection Failed" response. Any Idea
as to why. I notice there's no password or authenication info...how does one
instantiate those properties??
try
{
SMTP->Host="mail.xxxx.com";//"smtpauth.earthlink.net";
SMTP->UserID="charlie";//"xxxxxxxxxx@earthlink.net";
SMTP->PostMessage->FromName="Screen Name";
SMTP->PostMessage->ReplyTo="xxxxxxxxxxxx@earthlink.net";
SMTP->PostMessage->Subject="MySubject";
// SMTP->PostMessage->ToAddress->Add("a@b.c");//because its a list
SMTP->PostMessage->Body->Add("hello world");//TStringList
SMTP->PostMessage->Date=Date();
SMTP->Connect();
SMTP->SendMail();
}
catch(...)
{
}
Technical Details
Message-ID:
<412a155d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ea7c2801faed479,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Charles Leggette" <Charlie@Leggette.com> From: "Charles Leggette" <Charlie@Leggette.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: Babak's Email Using FastNet fail's on Connection Date: Mon, 23 Aug 2004 11:03:35 -0500 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 66.60.79.20 Message-ID: <412a155d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1093277021 66.60.79.20 (23 Aug 2004 09:03:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail