🚀 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 user Tue, 27 Jul 2004 18:41
A simple email send using Indy 6.0 doesn't work
#5522
Author: 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();
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