From Property

NAnt SDK Documentation - v0.92 |

# MailTask.From Property

Email address of sender.

[Visual Basic]
<TaskAttribute(Required:=True, Name:="from", ExpandProperties:=True, ProcessXml:=True), _ StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property From As String
[C#]
[TaskAttribute(Required=True, Name="from", ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public string From {get; set;}

#### See Also

MailTask Class | NAnt.Core.Tasks Namespace