 | MailTargetEnableSsl Property |
Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic bool EnableSsl { get; set; }
Public Property EnableSsl As Boolean
Get
Set
Dim instance As MailTarget
Dim value As Boolean
value = instance.EnableSsl
instance.EnableSsl = value
member EnableSsl : bool with get, set
Property Value
Type:
Boolean
See Also