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.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public Layout SmtpUserName { get; set; }

Property Value

Type: Layout
See Also