BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Could not load SSL Library

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket)
View previous topic :: View next topic  
Author Message
ActuaryOne
Guest





PostPosted: Sun Apr 22, 2007 12:45 am    Post subject: Could not load SSL Library Reply with quote



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 (AT) leggette (DOT) com;charlesleggette (AT) earthlink (DOT) 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 (AT) skynet (DOT) 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);
...............
Back to top
Guest






PostPosted: Sat May 05, 2007 1:18 am    Post subject: Re: Could not load SSL Library Reply with quote



I've read somewhere (sorry, I didn't remember anymore... google it)
that you need libeay32.dll and ssleay32.dll to load SSL Library.

[]s

On 21 abr, 16:45, "ActuaryOne" <CharlesLegge...@EarthLink.net> wrote:
Quote:
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.legge...@leggette.com;charleslegge...@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.wo...@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);
..............
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.