SmtpClient.Encrypt (gb.net.smtp)

Property Encrypt As Integer

Return or set the SMTP encryption method.

Three encryption modes are possible:

Net.None No encryption.
Net.SSL SSL encryption.
Net.TLS TLS encryption.