Article View: borland.public.cppbuilder.internet.socket
Article #1088Re: Could not load SSL Library
From: emerson.pardo
Date: Fri, 04 May 2007 20:18
Date: Fri, 04 May 2007 20:18
70 lines
3708 bytes
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);
> ..............
Technical Details
Message-ID:
<1178309938.696780.172110@q75g2000hsh.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!q75g2000hsh.googlegroups.com!not-for-mailReferences:
<462a69c9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3e7036150bdb4d4d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!q75g2000hsh.googlegroups.com!not-for-mail From: emerson.pardo@gmail.com Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Could not load SSL Library Date: 4 May 2007 13:18:58 -0700 Organization: http://groups.google.com Lines: 72 Message-ID: <1178309938.696780.172110@q75g2000hsh.googlegroups.com> References: <462a69c9$1@newsgroups.borland.com> NNTP-Posting-Host: 201.20.201.226 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1178309939 28582 127.0.0.1 (4 May 2007 20:18:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 May 2007 20:18:59 +0000 (UTC) In-Reply-To: <462a69c9$1@newsgroups.borland.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: q75g2000hsh.googlegroups.com; posting-host=201.20.201.226; posting-account=QvXz7Q0AAABpEoGXcn0fFVJYSsupcqGQ