SmtpExecuteCustomCommandAsync Method
async/await version of ExecuteCustomCommand(String).

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public Task<bool> ExecuteCustomCommandAsync(
	string commandString
)

Parameters

commandString
Type: SystemString
User-defined command text (including line terminator).

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the command was executed successfully; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also