Re: SMTP returns sockXXX error when sending large emails



David Gravereaux wrote:
That could be true.. To use tls with iocpsock, you either need to hack
the tls init script to call [socket2] instead of [socket] or allow it to
be set using a global variable or maybe use 'rename socket socket2'

You can also tell it to bootstrap itself on top of an already existing
bidirectional communications stream (e.g. a socket). To do this, use the
[tls::import] command on top of the socket once it is created (and also
once you've done any initial negotiation to enter SSL mode, if you need
this). Once you've done that, the encrypted channel should be stacked on
top of the normal underlying socket.

Donal.
.