Article View: borland.public.cppbuilder.internet.socket
Article #5528Email using Indy9.0 gets 1060
From: Charles W Leggette
Date: Thu, 29 Jul 2004 23:03
Date: Thu, 29 Jul 2004 23:03
17 lines
1531 bytes
1531 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:
<41098237$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: 11508e,41cea210675f26bf,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Charles W Leggette" <charlesleggette@earthlink.net> From: "Charles W Leggette" <charlesleggette@earthlink.net> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Email using Indy9.0 gets 1060 Date: Thu, 29 Jul 2004 18:03:45 -0500 Lines: 20 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: 65.64.193.137 Message-ID: <41098237$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091142199 65.64.193.137 (29 Jul 2004 16:03:19 -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