Edit

Share via


MailMessage.Priority Property

Definition

Gets or sets the priority of the email message. Recommended alternative: System.Net.Mail.

public:
 property System::Web::Mail::MailPriority Priority { System::Web::Mail::MailPriority get(); void set(System::Web::Mail::MailPriority value); };
public System.Web.Mail.MailPriority Priority { get; set; }
member this.Priority : System.Web.Mail.MailPriority with get, set
Public Property Priority As MailPriority

Property Value

One of the MailPriority values.

Examples

MailMessage MyMessage = new MailMessage();
MyMessage.Priority = MailPriority.Low;
Dim  MyMessage As MailMessage = New MailMessage()
MyMessage.Priority = MailPriority.Low

Applies to