 | MailTargetEnableSsl Property |
Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
See also
SecureSocketOption
Namespace:
NLog.MailKit
Assembly:
NLog.MailKit (in NLog.MailKit.dll) Version: 6.0.3+7aaac1a1ae687e358c83f79a9831e21a65bfedd5
Syntaxpublic Layout<bool> EnableSsl { get; set; }
Public Property EnableSsl As Layout(Of Boolean)
Get
Set
Dim instance As MailTarget
Dim value As Layout(Of Boolean)
value = instance.EnableSsl
instance.EnableSsl = value
member EnableSsl : Layout<bool> with get, set
Property Value
Type:
LayoutBoolean
See Also