Click or drag to resize

MailTarget Constructor (String)

Initializes a new instance of the MailTarget class.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public MailTarget(
	string name
)

Parameters

name
Type: SystemString
Name of the target.
Remarks
The default value of the layout is:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also