Article View: borland.public.cppbuilder.internet.socket
Article #3013Re: Indy 9 and SMTP with gmail
From: coolboy.lk
Date: Mon, 19 Dec 2005 01:03
Date: Mon, 19 Dec 2005 01:03
22 lines
1918 bytes
1918 bytes
I have succed wiht indy 9. I have already post my code in following
thread
http://groups.google.com/group/borland.public.cppbuilder.internet.socket/browse_frm/thread/8520fdad32e42d4d?tvc=1&q=coolboy.lk%40gmail.com
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:
<1134954188.439177.19500@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mailReferences:
<4390af15@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b4352516282066c5 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "coolboy.lk@gmail.com" <coolboy.lk@gmail.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Indy 9 and SMTP with gmail Date: 18 Dec 2005 17:03:08 -0800 Organization: http://groups.google.com Lines: 23 Message-ID: <1134954188.439177.19500@z14g2000cwz.googlegroups.com> References: <4390af15@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 1134954192 5112 127.0.0.1 (19 Dec 2005 01:03:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 Dec 2005 01:03:12 +0000 (UTC) In-Reply-To: <4390af15@newsgroups.borland.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 ariel.countryenergy.com.au:8080 (Squid/2.4.STABLE7), 1.0 QBYN-WP01 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=203.5.173.2; posting-account=BlXixg0AAAAxk_un-Mp-sbEbqy7bZ-zM