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.3+9ef8e80a2d4d2222f0cae59868deaa715a68a2da
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