System.Net.Mail.MailMessage.Subject Property

Gets or sets the subject line for this e-mail message.

Syntax

public string Subject { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Specify the encoding used for the subject by using the MailMessage.SubjectEncoding property.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0