MailTask.

UserName Property

Summary

The username to use when connecting to the smtp host.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
MailTask

Syntax

[TaskAttribute("user")]
public string UserName { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.

Value

Type Description
string