🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1667

Re: Babak's Email Using FastNet fail's on Connection

#1667
From: Pedram
Date: Tue, 24 Aug 2004 06:54
40 lines
2160 bytes
I guess Your Header is not complete
Then try this :

SMTP->Host="some VALID smtp Host address";
SMTP->UserID="Your VALID User ID there";
SMTP->PosrMessage->FromName="ValidName";
SMTP->PosrMessage->FromAddress="ValidAddress";
SMTP->PostMessage->Date=Date();
SMTP->PostMessage->Subject="Test";
SMTP->PosrMessage->ReplyTo="VALID Address";
SMTP->PostMessage->Body->Add("Simple Test");
SMTP->PostMessage->ToAddress->Add("Reciever");
SMTP->Connect();
SMTP->SendMail();

Tell me if there is something wrong and problem persist

Charles Leggette wrote in message <412a155d$1@newsgroups.borland.com>...
>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: <412af845@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <412a155d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ea7c2801faed479
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Pedram" <nover@hever.sever>
Newsgroups: borland.public.cppbuilder.internet.web
References: <412a155d$1@newsgroups.borland.com>
Subject: Re: Babak's Email Using FastNet fail's on Connection
Date: Tue, 24 Aug 2004 11:24:59 +0430
Lines: 42
X-Newsreader: Microsoft Outlook Express 4.72.3110.37
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.37
NNTP-Posting-Host: 62.60.157.38
Message-ID: <412af845@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093335109 62.60.157.38 (24 Aug 2004 01:11:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail