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.1.5+a53ab3ada11cc1e76f765052993b2098e0d69681
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