From

MailMessage.From property

Gets or sets the from address

public virtual MailAddress From { get; set; }

See Also