LumiSoft Net Help
GetDomainHosts Method (domain)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientGetDomainHosts(String)
Gets specified email domain SMTP hosts. Values are in descending priority order.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method Dns_Client.GetEmailHosts instead.")]
public static string[] GetDomainHosts(
	string domain
)
<ObsoleteAttribute("Use method Dns_Client.GetEmailHosts instead.")>
Public Shared Function GetDomainHosts ( 
	domain As String
) As String()
public:
[ObsoleteAttribute(L"Use method Dns_Client.GetEmailHosts instead.")]
static array<String^>^ GetDomainHosts(
	String^ domain
)
[<ObsoleteAttribute("Use method Dns_Client.GetEmailHosts instead.")>]
static member GetDomainHosts : 
        domain : string -> string[] 
Parameters
domain (String)
Domain name. This value can be email address too, then domain parsed automatically.
Return Value
array<String>[]()[][]
Returns specified email domain SMTP hosts.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when domain is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.
DNS_ClientExceptionIs raised when DNS query failure.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119