SmtpMail.Priority Property

Gets or sets the priority of the e-mail message.

[Visual Basic]
Public Property Priority As MailPriority
public MailPriority Priority {get; set;}
public: __property MailPriority^ get_Priority();
public: __property void set_Priority(MailPriority^);
public function get Priority() : MailPriority;
public function set Priority(MailPriority);

Property Value

One of MailPriority values.


[C# - Set High Priority]
SmtpMail oMail = new SmtpMail("TryIt");

// Set high priority
oMail.Priority = MailPriority.High;

[VB - Set High Priority]
Dim oMail As SmtpMail = New SmtpMail("TryIt")

' Set high priority
oMail.Priority = MailPriority.High

[JavaScript - Set High Priority]
var oMail = new EASendMail.SmtpMail("TryIt");

// Set high priority
oMail.priority = EASendMail.MailPriority.high;