SmtpTestSendAsync Method
async/await version of TestSend(SendFailureThreshold).

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public Task<TestSendResult> TestSendAsync(
	SendFailureThreshold failureThreshold
)

Parameters

failureThreshold
Type: MailBee.SmtpMailSendFailureThreshold
Specifies whether the method should succeed if all recipients succeed, or at least one recipient succeeds (even if other recipients fail).

Return Value

Type: TaskTestSendResult
A task that represents the asynchronous operation. The value of TResult parameter is OK if the sender and any or all (depends on failureThreshold value) recipients have been accepted by for delivery; otherwise, one of TestSendResult values specifying the error details.
See Also