Sends the text command to server. Adds "\r\n" to the command.

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

Syntax

C#
public void Send(
	string command
)
Visual Basic (Declaration)
Public Sub Send ( _
	command As String _
)
Visual C++
public:
void Send(
	String^ command
)

Parameters

command
Type: System..::.String
Text command to send.

Exceptions

ExceptionCondition
Lesnikowski.Client..::.ServerException An error occurred when accessing the socket. -or- The NetworkStream is closed. -or- There is a failure reading from the network.

See Also