I hope someone can point me valuable information on it.
Thanks to all of you.
Jayme.
> 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
if you could place sample soure code that will be great.
TIA
By the way, where to expect announce of Indy 10 being ready for BCB?
Only homepage or some newsgroup?
--
Greetings!
Googie
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
)