🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by ActuaryOne Sat, 21 Apr 2007 19:45
Could not load SSL Library
#1171
Author: ActuaryOne
Date: Sat, 21 Apr 2007 19:45
64 lines
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);
.............. 
Re: Could not load SSL Library
#1088
Author: emerson.pardo
Date: Fri, 04 May 2007 20:18
70 lines
3708 bytes
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:
> 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);
> ..............
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