SmtpServerPriority Property
Gets or sets the usage preference of this SMTP relay server as compared to preferences of other servers in SmtpServers and DnsServers collections.

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

Property Value

Type: Int32
An integer value in the range 0 to 999 (lower values are preferred, i.e. 0 is the highest priority while 999 is the lowest priority), specifying the order in which Smtp component will connect to the servers if more than one server is specified in SmtpServers and DnsServers collection.
Priority can be used to split the available servers into groups (for instance, define primary servers and backup servers) and combine different methods of sending mail (for instance, if top priority SMTP relay server in SmtpServers collection has higher priority than top priority DNS server in DnsServers collection, MailBee will attempt to send to relay servers first, and use direct send if sending to relay servers failed).
See Also