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

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public Task<string[]> GetTxtDataAsync(
	string 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.
MailBeeInvalidArgumentExceptiondomain is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also