MailMessagePriority Property
Gets or sets the priority of the message.

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

Property Value

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

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.

Examples
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();
        msg.LoadMessage(@"C:\Docs\TestMail.eml");

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

        // Send it.
        Smtp.QuickSend(msg);
    }
}
See Also