Article View: borland.public.cppbuilder.internet.socket
Article #5524A Simple Email using Indy6.0 that doesn't work[10060]
From: Charles W Leggette
Date: Wed, 28 Jul 2004 01:37
Date: Wed, 28 Jul 2004 01:37
17 lines
1566 bytes
1566 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:
<41070326$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!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,f2eeab86dc13101c,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: A Simple Email using Indy6.0 that doesn't work[10060] Date: Tue, 27 Jul 2004 20:37:00 -0500 Lines: 19 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: <41070326$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1090978598 65.64.193.137 (27 Jul 2004 18:36:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail