Sends command which expects to receive single-line response e.g. "STAT".

Namespace:  Lesnikowski.Client
Assembly:  Mail (in Mail.dll) Version: 3.0.10208.1049

Syntax

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

Parameters

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

Return Value

Single-line 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
Lesnikowski.Client..::.ServerException -ERR response.

See Also