MailMessagePriority Property
Gets or sets the priority of the message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public MailPriority Priority { get; set; }

Property Value

Type: MailPriority
The message priority level, or None if not set. The default value is None.

Different mail clients may set or interpret the priority settings differently while some of them may ignore it.

The value of this property is taken from the X-Priority and X-MSMail-Priority headers.

This sample loads the message from .EML file, sets High priority level for it, and sends this message.
using MailBee;
using MailBee.SmtpMail;
using MailBee.Mime;

class Sample
    static void Main(string[] args)
        // Load the message from file.
        MailMessage msg = new MailMessage();

        // Set the High priority level for the message.
        msg.Priority = MailPriority.High;

        // Send it.
See Also