🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3460

Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?

#3460
From: coolboy.lk
Date: Tue, 20 Sep 2005 03:43
22 lines
1873 bytes
I manage to send mail using gmail smtp server  by using Indy 9 & BCB 6

hope this help you all you guys

IdSSLIOHandlerSocket1->SSLOptions->Method = sslvTLSv1;
IdSSLIOHandlerSocket1->PassThrough = True;
IdSMTP1->IOHandler = IdSSLIOHandlerSocket1;

IdSMTP1->Connect();
IdSMTP1->SendCmd("STARTTLS");
IdSSLIOHandlerSocket1->PassThrough = False;
IdSMTP1->Authenticate();

IdSMTP1->Send(IdMessage1);

IdSMTP1->Disconnect();

thats all ,

P.S
Make sure set username , password , smtp host and port ( use 25 not 465
)
Technical Details
Message-ID: <1127187797.964570.190320@g14g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail
References: <4326c995$1@newsgroups.borland.com> <4327019a$1@newsgroups.borland.com> <43291cad$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8520fdad32e42d4d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail
From: "coolboy.lk@gmail.com" <coolboy.lk@gmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
Date: 19 Sep 2005 20:43:18 -0700
Organization: http://groups.google.com
Lines: 23
Message-ID: <1127187797.964570.190320@g14g2000cwa.googlegroups.com>
References: <4326c995$1@newsgroups.borland.com>
   <4327019a$1@newsgroups.borland.com>
   <43291cad$1@newsgroups.borland.com>
NNTP-Posting-Host: 203.5.173.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1127187802 32714 127.0.0.1 (20 Sep 2005 03:43:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 Sep 2005 03:43:22 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 ariel.countryenergy.com.au:8080 (Squid/2.4.STABLE7), 1.0 QBYN-ISA01
Complaints-To: groups-abuse@google.com
Injection-Info: g14g2000cwa.googlegroups.com; posting-host=203.5.173.2;
   posting-account=BlXixg0AAAAxk_un-Mp-sbEbqy7bZ-zM