| MailTargetSmtpUserName Property |
Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public Layout SmtpUserName { get; set; }
Public Property SmtpUserName As Layout
Get
Set
Dim instance As MailTarget
Dim value As Layout
value = instance.SmtpUserName
instance.SmtpUserName = value
member SmtpUserName : Layout with get, set
Property Value
Type:
LayoutSee Also