gjohn...@mixnym.net wrote: > On Sun, 26 Aug 2012 09:52:14 +0200, you wrote: >> >> gjohn...@mixnym.net wrote: >> >>>> Demo settings: >>>> smtp.gmail.com:25 >>>> SslVerifyPeer = unchecked >>>> SSL type = Explicit(StartSssl) >>> >>> Hi Arno, >>> >>> I'm sorry to say, I couldn't run the demo in cbuilder 2007. But I >>> put together a quick demo based on the SslMailSnd project to test >>> for the problem. It's a very small project _only_ intended to test >>> for failed handshake--nothing more. >>> >>> My demo resulted in the same problem that my program has. It fails >>> the handshake. Here are my results. >> >> Make sure that property TSslContext->SslVersionMethod is set to >> sslV23_CLIENT and that you use recent SSL libraries from here ( >> supported version depends on the version of your source code): >> http://wiki.overbyte.be/wiki/index.php/ICS_Download > > Gee, I had hopes for that! But it still fails the handshake. Just as > a test I set the port to 587 in my little demo and then the handshake > succeeded. But on port 25, fails.
If it does work with port 587 it should work with port 25 the same way since both support the STARTTLS command. I've no idea why it doesn't work for you? > >> If the handshake still fails drop a TIcsLogger onto the form, >> tick all options and log the failure, post the log to this >> list. > > Well, I didn't get much: > > 12:51:02:198 InitCtx> OpenSSL version: OpenSSL 1.0.0d 8 Feb 2011 > > That's it. Sorry for my bad advise. The TSslContext has a published property IcsLogger, simply assign it in object inspector. Also assign TSslSmtpClient->CtrlSocket->IcsLogger the same IcsLogger instance at runtime. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be