Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : SMTP blues.
| Subject: | SMTP blues. |
| Posted by: | "Roger Green" (rgreen_nospam@kemi.umu.se) |
| Date: | Tue, 9 Oct 2007 15:08:19 |
I have a SMTP client that connects to a server and sends some messages.
Testing different cases I got one problem.
1) SMTP, no transparent proxy, no SSL. Works fine. (SMTP.IOHandler is
assigned a TIdIOHandlerStack). The client connects and sends OK.
2) SMTP, transparent proxy, no SLL. Works and connects fine. (SMTP.IOHandler
is assigned a TIdIOHandlerStack. The TidIOHandler.TransparentProxy is
assigned a TidSocksInfo object, correctly configurated. The client connects
and work fine.
3)SMTP, No transparent proxy, SLL. Works and connects fine. SMTP.IOHandler
is assigned a TIdSSLIOHandlerSocketOpenSSL. The client connects and works
fine.
4) Now we have a problem: SMTP, Transparent Proxy , SSL. SMTP.IOHandler is
assigned a TIdSSLIOHandlerSocketOpenSSL. The
TIdSSLIOHandlerSocketOpenSSL.TransparentProxy is assigned a TidSocksInfo
object. The client don't connect at all and the operation fails with a
"Socks server did not respond." error.
The configuration in all components are the same in cases 1,2,3,4. Is there
any know problem when assigning a TidSocksInfo to the TransparentProxy
property of a TIdSSLIOHandlerSocketOpenSSL?