Discuss this help topic in SecureBlackbox Forum

Use SSL/TLS

To use SSL/TLS with SMTP, you need to do the following:

  1. Before opening connection, set UseSSL property of TElSMTPClient class to true.
  2. Specify SSL/TLS mode using SSLMode property of TElSMTPClient class. SMTP supports 2 modes -- so-called explicit and implicit SSL. With implicit SSL, the SSL/TLS communication is established before SMTP protocol connection, and all SMTP protocol communications go via encrypted channel. With explicit SSL the SSL/TLS connection is initiated during login (when Login() method is called).
  3. Setup SSL-specific properties and events, as described in the corresponding how-to article.

Discuss this help topic in SecureBlackbox Forum