Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Jun : Indy: Socket Error 100053

www.cryer.info
Managed Newsgroup Archive

Indy: Socket Error 100053

Subject:Indy: Socket Error 100053
Posted by:"Cataclysm BBS" (b..@bbs.bravanet.net)
Date:Sat, 18 Jun 2005 11:08:47

I am getting a Socket Error 100053 when trying to send an email using Indy
10 SMTP.  The error happens on the SMTPClient.Send(OutEmail).  All my server
log reports is the HELO and QUIT commands.  Anyone know why I would be
getting this?  I'm not sure what I am doing wrong.

Thanks
J.C.

Code
            SMTPClient.Connect;
            try
             repeat
                OutEmail.Clear;
                OutEmail.LoadFromFile(SMTPPath + SearchResult.Name);
                TmpStr := OutEmail.ExtraHeaders.Values['X-Mailer'];
                SMTPClient.MailAgent := TmpStr + '/VUUCP/VISK32 SMTP';
                SMTPClient.Send(OutEmail);
              until FindNext(SearchResult) <> 0;
              FindClose(SearchResult);
            finally
              if SMTPClient.Connected then SMTPClient.DisconnectNotifyPeer;
            end; {try}

Email File

Received: (from spooler@localhost) by bbs.bravanet.net for
<jdoll@bravanet.net>; Fri, 17 Jun 2005 21:37:02 EST (-0500)
Message-ID: <96100117.119@bbs.bravanet.net>
Reply-To: mrcharon@bbs.bravanet.net
To: jdoll@bravanet.net
Date: Fri, 17 Jun 2005 17:37:02 -0400
X-Mailer: Virtual Advanced Ver 2
Organization: Cataclysm BBS
Subject: testies
From: "mrcharon@bbs.bravanet.net" <mrcharon@bbs.bravanet.net>
MIME-Version: 1.0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <96100117.119@bbs.bravanet.net>

test


.

Replies:

www.cryer.info
Managed Newsgroup Archive