| 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: 5.2.0+78fee640bcc81f8f578f417ab1504dd9618e7898
Syntax public 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:
LayoutBooleanSee Also