eventtSmtpSession.OnStartTLSRequested
property OnStartTLSRequested: TNotifyEvent read fOnStartTLSRequested write fOnStartTLSRequested;
Raised after the 220 has been flushed IN CLEARTEXT, which is the whole of RFC 3207 sec.2: the reply that promises the handshake is itself the last cleartext octets. The handler performs the handshake and then calls SecureChannelEstablished, or closes the connection if it failed. The engine has already destroyed anything the peer pipelined behind the command by the time this fires, and will read nothing further until SecureChannelEstablished returns the session to smsCommand.