NAnt SDK Documentation - v0.92

MailTask.Port Property

The port number used to connect to the mail server. The default is 25.

[Visual Basic]
<Int32Validator(MinValue:=-2147483648, MaxValue:=2147483647, Base:=10), _  TaskAttribute(Required:=False, Name:="mailport", ExpandProperties:=True, ProcessXml:=True)>
Public Property Port As Integer
[C#]
[Int32Validator(MinValue=-2147483648, MaxValue=2147483647, Base=10)]
[TaskAttribute(Required=False, Name="mailport", ExpandProperties=True, ProcessXml=True)]
public int Port {get; set;}

See Also

MailTask Class | NAnt.Core.Tasks Namespace