Sept. 21, 2011
6:18 p.m.
On 21 Sep 2011, at 17:05, Sven Van Caekenberghe wrote:
Next, I will subclass SMTPClient to try to do an SSL connection with our server.
I made a very simple ZdcSecureSMTPClient subclass available in Zodiac-Extra (http://www.squeaksource.com/Zodiac) to test this setup, but it does not seem to work: the 'connect' handshake does not complete (actually it hangs in a loop). Since this essentially goes to a primitive and into the plugin's native code and the OS's libraries, this is currently a mistery to me.
I just read http://www.ietf.org/rfc/rfc3207.txt It turns out that before doing the TLS negociation (connect handshake), some prior conversation is needed, including the STARTTLS command. I think this might be doable, I will try. Sven