MailTask.

Port Property

Summary

The port number used to connect to the mail server. The default is 25.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
MailTask

Syntax

[TaskAttribute("mailport")]
[Int32Validator]
public int Port { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
Int32ValidatorAttribute Indicates that property should be able to be converted into a int within the given range.

Value

Type Description
int