Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<TestSendResult> TestSendAsync(
SendFailureThreshold failureThreshold
)
Public Function TestSendAsync (
failureThreshold As SendFailureThreshold
) As Task(Of TestSendResult)
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:
TaskTestSendResultA 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