GlobalPreferIPv4Hosts Property |
Gets or sets whether MailBee should try to connect to IPv4 endpoints before IPv6 endpoints when connecting to mail servers.
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static bool PreferIPv4Hosts { get; set; }
Public Shared Property PreferIPv4Hosts As Boolean
Get
Set
Property Value
Type:
BooleanIf
true and a mail server's host name is resolved in multiple IP addresses, MailBee will try IPv4 IP addresses first. If
false, MailBee will try
IPv4 and IPv6 addresses in the same order they are returned by the OS. The defaut value is
true.
See Also