Click or drag to resize

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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public Layout SmtpUserName { get; set; }

Property Value

Type: Layout
See Also