SmtpGetTxtDataAsync Method
async/await version of GetTxtData(String).

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<string[]> GetTxtDataAsync(
	string domain
)

Parameters

domain
Type: SystemString
The domain to get the list of MX hosts for.

Return Value

Type: TaskString
A task that represents the asynchronous operation. The value of TResult parameter is the array of strings taken from DNS TXT data of the specified domain, or a null reference (Nothing in Visual Basic) if an error occurred or no TXT record found for the given domain.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptiondomain is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also