Sends command and waits for the server response.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
public ImapResponse SendCommand(
	string command
)
Visual Basic
Public Function SendCommand ( _
	command As String _
) As ImapResponse
Visual C++
public:
ImapResponse^ SendCommand(
	String^ command
)

Parameters

command
Type: System..::..String
Command e.g. "NOOP".

Return Value

IMAP response object.

Remarks

Most commands have their own specialized methods in this class, you should probably use them instead. This is equivalent to calling 'SendCommand(command, true);'.

Exceptions

ExceptionCondition
Limilabs.Client..::..ServerException BAD -or- NO response.

See Also