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: 5.2.0+78fee640bcc81f8f578f417ab1504dd9618e7898
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