🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5522

A simple email send using Indy 6.0 doesn't work

#5522
From: user
Date: Tue, 27 Jul 2004 18:41
17 lines
1563 bytes
The following simple example gets a "10060" connection 
timeout....basically the same code works on *ipWorks...
the 10060 comes when the connect() is executed.
Thanks in advance for your help.
msg->Date = msg->Date.CurrentDateTime();
msg->From->Name   ="xxxxxxxxxxx@earthlink.net";
msg->Sender->Name ="xxxxxxxxxxx@earthlink.net";
msg->Subject      = "My Test email";
msg->Body->Add("Test email 1");
smtp1->AuthenticationType=atLogin;
smtp1->Username = "xxxxxxxxx@earthlink.net";
smtp1->Password = "xxxx";
smtp1->Host="smtpauth.earthlink.net";
smtp1->Connect();
smtp1->Authenticate();
smtp1->Send(msg);
smtp1->Disconnect();
Technical Details
Message-ID: <4106a1c3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,762724c33909a26d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 27 Jul 2004 13:41:06 -0500
From:  user@domain.invalid
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; BDP)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: A simple email send using Indy 6.0 doesn't work
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.60.79.20
Message-ID: <4106a1c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090953667 66.60.79.20 (27 Jul 2004 11:41:07 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail