Article View: borland.public.cppbuilder.internet.socket
Article #1171Could not load SSL Library
From: ActuaryOne
Date: Sat, 21 Apr 2007 19:45
Date: Sat, 21 Apr 2007 19:45
64 lines
2986 bytes
2986 bytes
I get this when I hit 'Send Mail' ->
Could not load SSL Library
BDS2006 all patches.C++ Flavor..Indy 9 ...I'm sure I need to add an include
or designate a lib but I do not know come here from sic'em about where to
start....Thanks in advance.
here is my simple example:::::
..............
String maillist;
int RecId_club;
String WORKDIR,PROGDIR;
char buf[200];
int taal;
String temp,tornooi,tornooinaam,mailsettings;
maillist="";
maillist="charles.leggette@leggette.com;charlesleggette@earthlink.net";
TIdEMailAddressItem *MAILLIST = IdMessage1->Sender;
TIdEMailAddressList *TOLIST = new TIdEMailAddressList(this);
TIdEMailAddressList *BCCLIST = new TIdEMailAddressList(this);
//...
mailsettings=String(buf);
MAILLIST->Name=mailsettings;
//...
mailsettings=String(buf);
MAILLIST->Address=mailsettings;
TOLIST->EMailAddresses=maillist;
IdMessage1->Recipients=TOLIST;
IdMessage1->From=MAILLIST;
IdMessage1->Sender=MAILLIST;
maillist="francois.van.wouwe@skynet.be";
BCCLIST->EMailAddresses=maillist;
IdMessage1->BccList=BCCLIST;
//...
IdMessage1->Subject="Confirmation of inscription "+tornooinaam;
IdMessage1->ContentType="text/plain";
IdMessage1->Body->Clear();
IdMessage1->Body->Add("THis is a test\n");
//....
IdMessage1->Body->Add("\nWith sporty greetings\n");
//...
mailsettings=String(buf);
IdMessage1->Body->Add(mailsettings);
GetPrivateProfileString("Email","SMTPHost","",buf,sizeof(buf),tornooi.c_str());
mailsettings=String(buf);
IdSMTP1->Host=mailsettings;
GetPrivateProfileString("Email","Username","",buf,sizeof(buf),tornooi.c_str());
mailsettings=String(buf);
IdSMTP1->Username=mailsettings;
if (!IdSMTP1->Connected())
{
IdSMTP1->Connect(-1);
}
IdSMTP1->Send(IdMessage1);
IdSMTP1->Disconnect();
delete TOLIST;
delete BCCLIST;
IdSMTP1->Destroying();
IdMessage1->Destroying();
ShowMessage("E-mail is verstuurd");
IdSMTP1->Connect(20000);
IdSMTP1->Send(IdMessage1);
..............
Technical Details
Message-ID:
<462a69c9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3e7036150bdb4d4d,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "ActuaryOne" <CharlesLeggette@EarthLink.net> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Could not load SSL Library Date: Sat, 21 Apr 2007 14:45:16 -0500 Lines: 66 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 66.60.79.20 Message-ID: <462a69c9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177184713 66.60.79.20 (21 Apr 2007 12:45:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail