Click or drag to resize

MailTarget Constructor (String)

Initializes a new instance of the MailTarget class.

Namespace:  NLog.MailKit
Assembly:  NLog.MailKit (in NLog.MailKit.dll) Version: 6.0.3+7aaac1a1ae687e358c83f79a9831e21a65bfedd5
Syntax
public MailTarget(
	string name
)

Parameters

name
Type: SystemString
Name of the target.
Remarks
The default value of the Body-Layout is:
1${message}${newline}
See Also