NAnt SDK Documentation - v0.92

MailTask.EnableSsl Property

Indicates whether or not ssl should be used to connect to the smtp host.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="ssl", ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property EnableSsl As Boolean
[C#]
[TaskAttribute(Required=False, Name="ssl", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool EnableSsl {get; set;}

See Also

MailTask Class | NAnt.Core.Tasks Namespace