ImapExecuteCustomCommandAsync Method |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> ExecuteCustomCommandAsync(
string command,
string commandID
)
Public Function ExecuteCustomCommandAsync (
command As String,
commandID As String
) As Task(Of Boolean)
Parameters
- command
- Type: SystemString
User-defined command text (without line terminator). - commandID
- Type: SystemString
The ID (tag in IMAP4 terms) which will be prepended to the command text,
or an empty string to let MailBee autogenerate the ID value,
or a null reference (Nothing in Visual Basic) to send command without ID.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation. The value of
TResult parameter is
true if the method succeeds; otherwise,
false.
Exceptions See Also