🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages Started by Charles W Leggette Wed, 28 Jul 2004 01:37
A Simple Email using Indy6.0 that doesn't work[10060]
#5524
Author: Charles W Leggette
Date: Wed, 28 Jul 2004 01:37
17 lines
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();
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads