Sends command which expects to recive multi-line response e.g. "RETR".

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

Syntax

C#
public Pop3MultiLineResponse SendMultiLineCommand(
	string command,
	bool throwException
)
Visual Basic (Declaration)
Public Function SendMultiLineCommand ( _
	command As String, _
	throwException As Boolean _
) As Pop3MultiLineResponse
Visual C++
public:
Pop3MultiLineResponse^ SendMultiLineCommand (
	String^ command, 
	bool throwException
)

Parameters

command
String
Command to send e.g. "RETR".
throwException
Boolean
If true throws ServerException on -ERR response

Return Value

Multi-line response object.

Remarks

Some commands have their own specialized methods in this class, you should probably use them insted.

Exceptions

ExceptionCondition
Lesnikowski.Client..::ServerException Throws ServerException on -ERR response (if 'throwException' param is set to true).

See Also

Pop3 Class