๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
5 messages
5 total messages Started by Jayme Jeffman Filho Tue, 13 Sep 2005 12:45
Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
#3522
Author: Jayme Jeffman Filho
Date: Tue, 13 Sep 2005 12:45
10 lines
1341 bytes
I wonder if Indy 9.0.18 IdSMTP has effective support to SSL SMTP
connections. I didn't succeed on making it connecting to the Google SMTP
server (smtp.gmail.com). I've made several different configurations and no
one has worked. Even using IdSSLIOHandler and IdSocksInfo.

I hope someone can point me valuable information on it.

Thanks to all of you.

Jayme.
Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
#3524
Author: Remy Lebeau (TeamB)
Date: Tue, 13 Sep 2005 16:42
21 lines
1738 bytes
"Jayme Jeffman Filho" <jaymenosp@jeffman.eng.br> wrote in message
news:4326c995$1@newsgroups.borland.com...

> I wonder if Indy 9.0.18 IdSMTP has effective support
> to SSL SMTP connections.

It does not natively support that.  Indy 10 does, though.

> I didn't succeed on making it connecting to the Google SMTP
> server (smtp.gmail.com). I've made several different configurations
> and no one has worked. Even using IdSSLIOHandler and IdSocksInfo.

TIdSocksInfo is not used for this.

TIdSSLIOHandler is not enough.  There are actual commands that have to be
sent to the SMTP server as well to initiate the SSL connection.  Namely the
STARTTLS command.  You could try sending the command manually, though.


Gambit
Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
#3426
Author: coolboy.lk
Date: Wed, 14 Sep 2005 00:30
6 lines
1581 bytes
Im also trying to connect Gmail using IdSMTP. it make connection with
server and stuck there,  can you tell me exact order of sending
STARTTLS comannd with IdSMTP.

if you could place sample soure code that will be great. 
TIA
Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
#3433
Author: Googie
Date: Thu, 15 Sep 2005 07:04
9 lines
1224 bytes
Remy Lebeau (TeamB) napisa๏ฟฝ(a):
> It does not natively support that.  Indy 10 does, though.

By the way, where to expect announce of Indy 10 being ready for BCB?
Only homepage or some newsgroup?

-- 
Greetings!
Googie
Re: Has Indy 9.0.18 IdSMTP effective support to SSL connections ?
#3460
Author: 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
)
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