Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by Paulo Tesche
Fri, 02 Dec 2005 21:33
Indy 9 and SMTP with gmail
Author: Paulo Tesche
Date: Fri, 02 Dec 2005 21:33
Date: Fri, 02 Dec 2005 21:33
11 lines
1208 bytes
1208 bytes
Hi, Did anybody succeed in using gmail SMTP with Indy 9? If so, please post a sample code here. I'm messed with the STARTTLS command issue and after days of trying I'm giving up. I think I must definetly wait until Indy 10 will became available to BCB 6. Looking for any help... Paulo Sergio Tesche
Re: Indy 9 and SMTP with gmail
Author: Remy Lebeau (TeamB)
Date: Fri, 02 Dec 2005 22:44
Date: Fri, 02 Dec 2005 22:44
10 lines
1249 bytes
1249 bytes
"Paulo Tesche" <pstesche@gmail.com> wrote in message news:4390af15@newsgroups.borland.com... > Did anybody succeed in using gmail SMTP with Indy 9? TIdSMTP in Indy 9 does not support SSL. You need Indy 10 for that. Gambit
Re: Indy 9 and SMTP with gmail
Author: 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
)
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