Sends the text command to server.
Adds "\r\n" to the command.
Namespace:
Lesnikowski.ClientAssembly: 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
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::.ServerException | An error occurred when accessing the socket. -or- The NetworkStream is closed. -or- There is a failure reading from the network. |