MailMessage.From

MailMessage.From property

Gets or sets the author of the message (the From header).

public virtual MailAddress From { get; set; }

See Also