SmtpGetMXHostsAsync Method |
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<string[]> GetMXHostsAsync(
string domain
)
Public Function GetMXHostsAsync (
domain As String
) As Task(Of String())
Parameters
- domain
- Type: SystemString
The domain to get the list of MX hosts for.
Return Value
Type:
TaskStringA task that represents the asynchronous operation.
The value of
TResult parameter is the array of string names of hosts willing to accept mail for the given domain,
or
LocalSmtpMXServerName if
domain is an empty string,
or a null reference (
Nothing in Visual Basic) if an error occurred.
Exceptions See Also